stk-code_catmod/README.windows
hikerstk c05b0d4b0d Updated the Visual C++ project files to support
compilation of the inluded bullet library, and 
to include the new widget_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 12:56:44 +00:00

53 lines
1.6 KiB
Plaintext

There are two documented ways to compile an executable for windows: using
cygwin, and using visual c++ (tested with the free Express version).
If you have any problems, please post on the mailing list - I am
not a regular windows user, so am probably not able to help you.
hiker
Cygwin
======
1) Install freeglut
This is part of the cygwin packages, so just select this in
the cygwin setup program.
2) Compile and install plib
This should work straight out of the box.
3) Unpack supertuxkart and run ./configure and make.
That should be all.
Comments:
1) A -DNOMINMAX is added for cygwin compilations, since otherwise
min and max are #defined, causing problems with all std::min and
std::max constructs. This is done automatically by the configure
script.
2) The order in which plib/pu.h and plib/pw.h are included appears
to be important - pw should be included first.
Visual C++ Express
==================
Since version r793 SuperTuxKart compiles with Visual C++ Express,
version 8.0, since rev 1267 Visual C++ project files are included.
The main project file is .../src/ide/vc8/supertuxkart.vcproj,
and it include a sub project for the bullet library. More details
can be found in .../src/ide/vc8/README.
You still have to install all dependencies, and:
1) Modify plib:
In src/ssg/ssgLoadAC.cxx replace:
loader_fd = fopen ( filename, "ra" ) ;
with
loader_fd = fopen ( filename, "r" ) ;
This patch will be submitted to PLIB, but we don't know if and
when it will be applied.
2) Compile plib (project files for visual c++ are included)