MG/Linux Compiling

From MegaGlest
Revision as of 19:04, 3 September 2010 by Titus (talk)
Jump to: navigation, search

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)
3. Open a terminal window and navigate to mk/linux and type the following:

./autogen.sh
./configure
jam

4. If nothing goes wrong you will see glest.bin (and other binaries) in the same folder (mk/linux).


5. 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