MG/Linux Compiling
Linux Compiling:
1. Get the project from SVN using the commandline or your favorite SVN tool (rabbitvcs or tortoise)
2. Download package dependencies for your Linux distribution (see mk/linux/setupBuildDeps.sh which can do that for Debian,
Ubuntu, Fedora and Open SuSE based distro's). The following is the current dependency list:
jpeg, lua5.1, png, SDL, openal, curl, xerces-c, ogg, vorbis, vorbisfile, vorbisenc, z, GL, GLU, SDLmain (and the tools require wx)
There are two build systems currently (#1 is the new build system that will replace #2)
#1 Build using CMake
1. Open a terminal window and navigate to trunk (or the specified branch) and type the following:
mkdir build cd build cmake .. make
2. If nothing goes wrong you will see glest.bin (and other binaries) in the same folder (mk/linux).
#2 Build using Perforce Jam
1. Open a terminal window and navigate to mk/linux and type the following:
./autogen.sh ./configure jam
2. If nothing goes wrong you will see glest.bin (and other binaries) in the same folder (mk/linux).
Test binaries
1. To test running the game, run the binary in mk/linux like this:
./glest.bin
These are some commandline options:
./glest.bin --help ./glest.bin --version ./glest.bin --opengl-info
There are some more useful scripts here: Misc Scripts