如何在windows visual studio 2010中编写linux程序c ++? [英] how tocompile linux program c++ in windows visual studio 2010 ?

查看:196
本文介绍了如何在windows visual studio 2010中编写linux程序c ++?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



i有一个问题,如何在visual studio2010中编译和执行C ++程序?C ++是一个用linux制作的程序,用它来使用到Nao机器人。所以我需要的是在windows visual studio兼容的linux头文件,或者除了windows visual studio和linux之外可以用作交叉编译的程序/软件。





谢谢



MB

hello,

i have a question, how to compile and execute C++ program in visual studio2010?The C++ is a program which is made in linux and it is used to Nao Robot. so all i need is the linux header files which compatible in windows visual studio, or maybe the program/software that can be used as cross compile besides windows visual studio and linux.


thanks

MB

推荐答案

你要么改写了用于Windows的代码,或者使用 Cygwin 进行编译。
Well either you rewrite the code for windows, or you compile with Cygwin.


这篇关于如何在windows visual studio 2010中编写linux程序c ++?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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