OFGame Compiling Linux
From OpenFrag
Contents |
The Build Environment
This is a small tutorial style document describing how you can compile OpenFrag under Linux.
At this point everything is tested with Ubuntu 7.10 and Debian 4.0, but technically it should also work under other platforms.
Requirements
General
- Beer
- Linux 2.6 kernel, Ubuntu 7.10 or Debian Etch are recommended.
Build Environment
- automake >= 1.9
- autoconf
- libtool
- pkg-config
- g++
Specified by distribution
Ubuntu 7.10
Also known as Gutsy Gibbon (stable release).
Libraries
- libboost-dev
- libboost-thread-dev
- libboost-signals-dev
- libboost-filesystem-dev
- libogre-dev
- libcegui-mk2-dev
- libopenal-dev
- libwxbase2.8-dev
- libode0-dev
Quick install
Install all packages need to build openfrag:
apt-get install libboost-dev libboost-thread-dev libboost-signals-dev \ libboost-filesystem-dev libogre-dev libcegui-mk2-dev libopenal-dev \ libwxbase2.8-dev libode0-dev
Ubuntu 8.04
Same as above, but there's a new test package, that should take care of current cg-plugin problem - details here -> http://www.ogre3d.org/phpBB2/viewtopic.php?t=40832
Debian 4.0
Running Lenny (testing).
Libraries
- libboost-dev
- libboost-thread-dev
- libboost-signals-dev
- libboost-filesystem-dev
- libogre-dev
- libcegui-mk2-dev
- libopenal-dev
- libwxbase2.6-dev
- libode0-dev
Quick install
Install all packages need to build openfrag:
apt-get install libboost-dev libboost-thread-dev libboost-signals-dev \ libboost-filesystem-dev libogre-dev libcegui-mk2-dev libopenal-dev \ libwxbase2.6-dev libode0-dev
Checkout sources
Now, we need to checkout the OpenFrag source code from the SVN. Change the directory in the terminal where you want the sources to go - if you're unsure, just do
cd ~
And checkout the soruces:
svn checkout https://openfrag.svn.sourceforge.net/svnroot/openfrag/trunk/openfrag
Manual build
cd openfrag autoreconf -f -i ./configure make make install
cmake
You can also try to compile openFrag with Cmake.

