Skip to content
Advertisement

Compile Linux project in Visual Studio 2008 [closed]

I have a project in Linux, but it’s cross platform code. How can I compile it in Visual Studio 2008 for the Windows part?

Advertisement

Answer

You have 2 options:

1)Use the windows version of same compiler(Hopefully GCC) + compiler extension for Visual studio.

2)Start creating Visual Studio project and fix compilation/linking errors occurred due to change in compiler/language standard supported by them.

Both the approaches doesn’t guarantee your code will work directly, you may have to replace/#ifdef certain parts of code not supported by the platform.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement