1
Q-Gears / Visual Studio 2005 Project Files and Patch
« on: 2006-09-22 20:37:08 »
I checked the svn today and saw you changed the structure to add support for xenogears, so I built new project files, this time for vs2005.
I only had to add 3 #ifdef blocks to make it work, and none of them change the code too much:
One in DisplayOgl.cpp, to make it include windows.h before gl.h
One in Main.cpp to "rename" main() to SDL_main, so it links correctly using SDL
One in StdString.h because vc doesn't have a va_copy function, and it has _snprintf isntead of snprintf
That means the code is (should be) 100% compatible with other compilers.
To build it you need win32 versions of libxml, libiconv and zlib (all with binary builds available) configured in the vs2005 C++ paths.
http://bin.mypage.sk/FILES/vs2005.zip
EDIT: forgot to say: the project files and the patch should be in trunk/src/ (the patch doesn't need to be there, but you need to CD there to use patch)
EDIT2: in case someone wants to use it, but has trouble with the libs, just tell me and I will upload the ones I used.
I only had to add 3 #ifdef blocks to make it work, and none of them change the code too much:
One in DisplayOgl.cpp, to make it include windows.h before gl.h
One in Main.cpp to "rename" main() to SDL_main, so it links correctly using SDL
One in StdString.h because vc doesn't have a va_copy function, and it has _snprintf isntead of snprintf
That means the code is (should be) 100% compatible with other compilers.
To build it you need win32 versions of libxml, libiconv and zlib (all with binary builds available) configured in the vs2005 C++ paths.
http://bin.mypage.sk/FILES/vs2005.zip
EDIT: forgot to say: the project files and the patch should be in trunk/src/ (the patch doesn't need to be there, but you need to CD there to use patch)
EDIT2: in case someone wants to use it, but has trouble with the libs, just tell me and I will upload the ones I used.