2006-03-20 17:12:09 +00:00
|
|
|
This file describes how to compile D2X-Rebirth from source.
|
|
|
|
|
2007-01-26 12:43:11 +00:00
|
|
|
-gcc/g++
|
|
|
|
-mingw [windows]
|
|
|
|
-nasm (optional, for sdl-build)
|
|
|
|
-sdl(-devel)
|
|
|
|
-GLU/GL
|
|
|
|
-scons (recommended)
|
|
|
|
-PhysFS
|
2006-03-20 17:12:09 +00:00
|
|
|
|
2007-01-26 12:43:11 +00:00
|
|
|
Building with SCons:
|
|
|
|
* run "scons" with desired command-line options (see "scons -h" for complete list of options)
|
|
|
|
* you may want to run "scons install" to install the binary after it's build
|
|
|
|
* copy your data files to the SHAREPATH (default: /usr/local/share/games/d2x-rebirth)
|
|
|
|
|
|
|
|
|
|
|
|
Building with make:
|
2006-10-02 17:00:26 +00:00
|
|
|
* run ./autogen.sh
|
2006-10-11 22:27:59 +00:00
|
|
|
* run ./configure. Use '--help' for more information and parameters.
|
|
|
|
* You also should use '--with-opengl' to compile the OpenGL build (recommended)
|
|
|
|
* also you can optinally appen '--with-sharepath=/path' (unix/linux only) to define the place for the descent2 data files
|
|
|
|
* additionally add '--disable-debug' and '--enable-release' to get rid of the debugging stuff
|
|
|
|
* x86_64 users should also use '--disable-fastfileio'.
|
2006-03-20 17:12:09 +00:00
|
|
|
* run "make"
|
|
|
|
* run "make install" (unix/linux only)
|
2006-10-11 22:27:59 +00:00
|
|
|
* copy your data files to the Sharepath
|
2006-03-20 17:12:09 +00:00
|
|
|
|
|
|
|
If you run into any problems do not hesitate to contact me.
|
2006-10-02 17:00:26 +00:00
|
|
|
eMail is: zico@unixboard.de
|
2007-01-26 12:43:11 +00:00
|
|
|
You can also use the DXX-Forum located on http://dxx-rebirth.de/
|