2007-05-27 12:01:53 -04:00
|
|
|
SUPERTUXKART INSTALLATION INSTRUCTIONS
|
|
|
|
======================================
|
|
|
|
|
|
|
|
General
|
|
|
|
-------
|
|
|
|
|
|
|
|
First, make sure that you have the following packages installed:
|
|
|
|
|
|
|
|
* OpenGL (or Mesa 3.0 or later)
|
2012-11-07 23:19:14 -05:00
|
|
|
* OpenAL (recommended: openal-soft-devel)
|
|
|
|
* Ogg (libogg-dev)
|
|
|
|
* Vorbis (libvorbis-dev)
|
2013-12-31 04:30:41 -05:00
|
|
|
* libcurl (libcurl-devel)
|
|
|
|
* libbluetooth (bluez-devel)
|
2012-11-07 23:19:14 -05:00
|
|
|
* fribidi (fribidi-devel) - optional for right-to-left text
|
2007-05-27 12:01:53 -04:00
|
|
|
|
|
|
|
Unpack the files from the tarball like this:
|
|
|
|
|
|
|
|
tar xzf supertuxkart-*.tar.gz
|
|
|
|
cd supertuxkart-*
|
|
|
|
|
2012-11-07 23:19:14 -05:00
|
|
|
where '*' is the version of SuperTuxkart you downloaded - eg 0.8.0. Then:
|
2007-05-27 12:01:53 -04:00
|
|
|
|
2012-11-07 23:19:14 -05:00
|
|
|
* Build irrlicht (atm, this will be included in cmake soonish)
|
|
|
|
cd lib/irrlicht/source/Irrlicht
|
|
|
|
NDEBUG=1 make
|
2012-11-08 17:33:48 -05:00
|
|
|
|
|
|
|
* Compile SuperTuxKart:
|
2012-11-07 23:19:14 -05:00
|
|
|
mkdir cmake_build
|
|
|
|
cd cmake_build
|
|
|
|
cmake ..
|
|
|
|
make VERBOSE=1 -j2
|
|
|
|
To create a debug version of STK, use:
|
|
|
|
cmake .. -DCMAKE_BUILD_TYPE=Debug
|
2007-05-27 12:01:53 -04:00
|
|
|
|
|
|
|
To test the compilation, supertuxkart can be run from the build
|
2012-11-07 23:19:14 -05:00
|
|
|
directory by ./bin/supertuxkart
|
2007-05-27 12:01:53 -04:00
|
|
|
|
|
|
|
To install the file, as root execute:
|
|
|
|
|
|
|
|
make install
|
|
|
|
|
|
|
|
The default install location is /usr/local, i.e. the data files will
|
|
|
|
be written to /usr/local/share/games/supertuxkart, the executable
|
|
|
|
will be copied to /usr/local/bin. To change the default installation
|
2012-11-07 23:19:14 -05:00
|
|
|
location, specify CMAKE_INSTALL_PREFIX when running cmake, e.g.:
|
|
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/stk
|
2007-05-27 12:01:53 -04:00
|
|
|
|
2011-07-30 11:59:16 -04:00
|
|
|
Building STK on OS X
|
|
|
|
--------------------
|
|
|
|
See http://supertuxkart.sourceforge.net/Building_and_packaging_on_OSX
|
2007-05-27 12:01:53 -04:00
|
|
|
|
|
|
|
|
2011-07-30 11:59:16 -04:00
|
|
|
Building STK on Windows
|
|
|
|
-----------------------
|
|
|
|
See http://supertuxkart.sourceforge.net/How_to_build_the_Windows_version
|