Updated BUILD instructions (describing the current state, needs to be
updated once building irrlicht is fully integrated). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
32e4e0558c
commit
1a664ac497
33
INSTALL
33
INSTALL
@ -7,22 +7,31 @@ General
|
|||||||
First, make sure that you have the following packages installed:
|
First, make sure that you have the following packages installed:
|
||||||
|
|
||||||
* OpenGL (or Mesa 3.0 or later)
|
* OpenGL (or Mesa 3.0 or later)
|
||||||
* Irrlicht 1.8 or later
|
* OpenAL (recommended: openal-soft-devel)
|
||||||
* OpenAL
|
* Ogg (libogg-dev)
|
||||||
|
* Vorbis (libvorbis-dev)
|
||||||
|
* fribidi (fribidi-devel) - optional for right-to-left text
|
||||||
|
|
||||||
Unpack the files from the tarball like this:
|
Unpack the files from the tarball like this:
|
||||||
|
|
||||||
tar xzf supertuxkart-*.tar.gz
|
tar xzf supertuxkart-*.tar.gz
|
||||||
cd supertuxkart-*
|
cd supertuxkart-*
|
||||||
|
|
||||||
|
where '*' is the version of SuperTuxkart you downloaded - eg 0.8.0. Then:
|
||||||
|
|
||||||
where '*' is the version of SuperTuxkart you downloaded - eg 0.2.0. Then:
|
* Build irrlicht (atm, this will be included in cmake soonish)
|
||||||
|
cd lib/irrlicht/source/Irrlicht
|
||||||
./configure
|
NDEBUG=1 make
|
||||||
make
|
* Compile irrlicht:
|
||||||
|
mkdir cmake_build
|
||||||
|
cd cmake_build
|
||||||
|
cmake ..
|
||||||
|
make VERBOSE=1 -j2
|
||||||
|
To create a debug version of STK, use:
|
||||||
|
cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||||
|
|
||||||
To test the compilation, supertuxkart can be run from the build
|
To test the compilation, supertuxkart can be run from the build
|
||||||
directory by ./src/supertuxkart (./src/supertuxkart.exe on windows).
|
directory by ./bin/supertuxkart
|
||||||
|
|
||||||
To install the file, as root execute:
|
To install the file, as root execute:
|
||||||
|
|
||||||
@ -31,14 +40,8 @@ To install the file, as root execute:
|
|||||||
The default install location is /usr/local, i.e. the data files will
|
The default install location is /usr/local, i.e. the data files will
|
||||||
be written to /usr/local/share/games/supertuxkart, the executable
|
be written to /usr/local/share/games/supertuxkart, the executable
|
||||||
will be copied to /usr/local/bin. To change the default installation
|
will be copied to /usr/local/bin. To change the default installation
|
||||||
location, use the "--prefix" option of configure, e.g. --prefix=/usr
|
location, specify CMAKE_INSTALL_PREFIX when running cmake, e.g.:
|
||||||
See the --help output of configure for further options.
|
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/stk
|
||||||
|
|
||||||
|
|
||||||
Building STK on Linux
|
|
||||||
---------------------
|
|
||||||
See http://supertuxkart.sourceforge.net/Build_STK_on_Linux
|
|
||||||
|
|
||||||
|
|
||||||
Building STK on OS X
|
Building STK on OS X
|
||||||
--------------------
|
--------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user