Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ C++/CLI C Windows Linux
Please help me in this task..
i want to migrate the project from Visual studio to Eclipse CDT...
 
as there are some licencing issues regarding with visual studio
Posted 5-Aug-12 22:30pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Based on the tags in your question, I assume you want to migrate a Windows C++ project to a Linux Eclipse one.
 
In Eclipse, create a new project, empty.
Copy all relevant source files from your Windows machine to the correspondent folder in your Linux machine (under $HOME/workspace/{project name}...)
In Eclipse, add all .cpp files to your project.
Make them compile: this will take some time, particularly if your "stdafx.h" file includes some Windows-specific headers (Windows.h, ATLBase.h, ...); any calls to the Windows API is non-portable by definition.
 
I'd suggest to start with a simple 'Hello, world' project, and only then move to production code.
 
Hope this helps,
Pablo.
  Permalink  
Comments
Albert Holguin at 6-Aug-12 22:59pm
   
At the end of the day... you end up having to do this anyway... +5
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Comments
Albert Holguin at 6-Aug-12 22:59pm
   
Good resources, +5
Volynsky Alex at 7-Aug-12 11:36am
   
Thanks Albert!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Dnyaneshwar@Pune 719
1 CHill60 240
2 Sergey Alexandrovich Kryukov 220
3 TheRealSteveJudge 220
4 CPallini 200
0 Sergey Alexandrovich Kryukov 9,078
1 OriginalGriff 6,771
2 Peter Leow 4,282
3 Zoltán Zörgő 3,809
4 Richard MacCutchan 2,661


Advertise | Privacy | Mobile
Web01 | 2.8.150128.1 | Last Updated 6 Aug 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100