stk-code_catmod/README.windows
hikerstk 7ed846ca3e 1) Improved rockets and sparks for bullet physics
Parameters for rockets etc. can for now be
   set in data/*.projectile
2) Fixed bugs causing rockets not to explode (and
   potentialy start rotating)
3) Added (somewhat temporarily) some cheats to get
   rockets, homing missiles and sparks as F1/2/3
4) Fixed several memory leaks.
5) Fixed (very rare) occurring crash when deleting
   phsyics.
6) Started to remove non-bullet physics code
7) Bullet physics is now the default, and it
   can not be disabled anymore!!
Important note: 
From this revision on, non-bullet physics is NOT
supported anymore, and will (most likely) not
compile. For now a -DBULLET is still necessary (it
is added as default), but the code will be cleaned
up in the near future.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-08 13:04:56 +00:00

54 lines
1.7 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
==================
There are now project files included for building SuperTuxKart with
Visual C++ - have a look at the src/ide/vc8 folder.
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 includes 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)