Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
3.67/5 (2 votes)
See more:
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
Posted
Comments
Sergey Alexandrovich Kryukov 11-Nov-13 23:30pm    
Not enough information. In certain cases, you cannot build the Linux code on Windows (usually you can compile, which is more formal process, does not need libraries), and it would not make any sense. And don't mix up cross-compilation with compilation to Windows executable (why, cross-compilation, by the way?)...
—SA

1 solution

Well either you rewrite the code for windows, or you compile with Cygwin.
 
Share this answer
 

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