如何将Visual Studio C/C ++ 2005项目转换为Eclipse CDT ... [英] how to convert Visual studio C / C++2005 projects to eclipse CDT...

查看:105
本文介绍了如何将Visual Studio C/C ++ 2005项目转换为Eclipse CDT ...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我完成此任务..
我想将项目从Visual Studio迁移到Eclipse CDT ...

因为与visual studio有关一些许可问题,所以

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

推荐答案

根据您问题中的标记,我假设您要将Windows C ++项目迁移到Linux Eclipse. .

在Eclipse中,创建一个新项目,为空.
将所有相关的源文件从Windows机器复制到Linux机器中的对应文件夹(在
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} ...下)
在Eclipse中,将所有.cpp文件添加到您的项目中.
使它们编译:这将花费一些时间,特别是如果您的"stdafx.h"文件包含一些Windows特定的头文件(Windows.h,ATLBase.h等)时,尤其如此;根据定义,对Windows API的任何调用都是不可移植的.

我建议从一个简单的"Hello,world"项目开始,然后再转到生产代码.

希望这会有所帮助,
巴勃罗.
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.


请阅读以下说明:
http://www.ibm.com/developerworks/library/os-ecl-vscdt/ [^ ]
http://www.eclipse.org/resources/resource.php?id=291 [ ^ ]
希望对您有帮助:)
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 :)


这篇关于如何将Visual Studio C/C ++ 2005项目转换为Eclipse CDT ...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆