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 OriginalGriff 350
1 Jochen Arndt 150
2 PIEBALDconsult 110
3 Richard MacCutchan 105
4 Sergey Alexandrovich Kryukov 104
0 OriginalGriff 6,055
1 DamithSL 4,621
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,500
4 Sergey Alexandrovich Kryukov 3,294


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