Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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.
 
Share this answer
 
Comments
Albert Holguin 6-Aug-12 22:59pm    
At the end of the day... you end up having to do this anyway... +5
Please read the following instructions :
http://www.ibm.com/developerworks/library/os-ecl-vscdt/[^]
http://www.eclipse.org/resources/resource.php?id=291[^]
I hope it will help you :)
 
Share this answer
 
Comments
Albert Holguin 6-Aug-12 22:59pm    
Good resources, +5
Volynsky Alex 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900