c++ - Making a GCC based Project Build and Run under Visual Studio 2010 -
i have been trying port c++ based mass data transport protocol project visual studio 2010 no success :(
the code have been working on compatible win based systems..well mentor says :) have not been able make project build , run using existing *.h & *.cpp files under vs 2010.
the project api under have 4 separate applications. hierarchy be:
src folder- *.h , respective *.cpp files
app folder- 4 applications (the api / library , *.h files available before linking such final dll file under src folder & main header file under app folder)
i have makefile when project developed on linux platform have no idea how implement same on visual studio 2010
fyi: vs 2010 on compiling reports there missing header files such <cstdlib>
, <unistd>
best bet not real prob. prob. lies in way make project build itself. don't know should go making dynamic dll project main library , make 4 empty c++ projects inside 4 respective applications..?
cheers, echo9
i recommend parse data need working .mak file used previously. create empty project & sln, add contents of "src" using "add->existing files" in file menu.
at point open project configuration settings , go through c++ , linker settings 1 one. @ each step have @ linux .mak file , see choosing equivalent options , path settings. in particular make sure add of necessary include paths .h files are.
that's anyways... same process porting forwards old msvc4 .mak projects modern version.
Comments
Post a Comment