Oct 14, 2013 at 1:40pm UTC
I have a C++ project compiled in windows? How can I run it in LINUX?
Oct 14, 2013 at 2:46pm UTC
WINE
(but preferably you grab the sources and manage to recompile as native)
Oct 14, 2013 at 3:35pm UTC
Compile it.
1) sudo apt-get install build-essential
2) cd into code directory
3) g++ -o output myCode.cpp otherCode.cpp
4) ./output to run it.
Do not include header files into g++.
Last edited on Oct 14, 2013 at 3:35pm UTC
Oct 14, 2013 at 3:54pm UTC
@vasilenko: We don't know whether tatai has Debian-based Linux nor how complex his "project" is. He didn't even mention which build system was used in Windows; it could be that he does not know.
Oct 14, 2013 at 3:55pm UTC
I have used MS visual studio 10 to build the program.
Oct 14, 2013 at 3:58pm UTC
@keskiverto: Debian based distros are more popular, and step 3 and 4 are really the most important part.