Click here to Skip to main content
10,500,000 members (63,133 online)
Rate this:
 
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 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 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web04 | 2.8.160208.1 | Last Updated 6 Aug 2012
Copyright © CodeProject, 1999-2016
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