Version 11 (modified by edrundor, 18 years ago) (diff) |
---|
Ubuntu Linux
Ubuntu Versions
Installing Orxonox was tested on Ubuntu Dapper Drake (6.06) and Edgy Eft (6.10).
Installing the Libraries
wraith user $ sudo aptitude install libsdl1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libqt4-dev libglut3-dev libglew-dev libopenal-dev libvorbis-dev libavformat-dev libcurl3-dev liblualib50-dev ...
Installing developer tools
wraith user $ sudo aptitude install subversion automake1.9 g++
Getting the Source & Data
Check out the source and Data via svn anonymous, this will download the hole project to the directory orxonox-dir
wraith user $ svn co http://svn.orxonox.net/orxonox orxonox-dir wraith user $ svn co http://svn.orxonox.net/data orxonox-dir/data
You won't be able to commit (check in) anything with the anonymous repository. You have to ask us for user/pass combination. If you have already an account check it out like this:
wraith user $ svn co https://svn.orxonox.net/orxonox orxonox-dir wraith user $ svn co https://svn.orxonox.net/data orxonox-dir/data
You will be asked for user name and password, that you have from us.
Compiling
Just change into the trunk directory, execute configure and make….
wraith user $ cd ./orxonox-dir/trunk/ wraith user $ ./autogen.sh wraith user $ ./configure ... wraith user $ make
Playing
wraith user $ cd ./orxonox-dir/trunk/src wraith user $ ./orxonox
Select the data file orxonox/data/trunk/data.oxd in the menu and play!
Ubuntu package
Instead of compiling Orxonox you can also get the Ubuntu packages here http://people.ee.ethz.ch/~psachs
or you can add the following source to /etc/apt/sources.list:
deb http://people.ee.ethz.ch/~psachs edgy games
After starting Orxonox you are asked to give the data path for Orxonox. The correct path is: '/usr/share/orxonox-data'
Known Bugs
If you have an ATI card you probably have to start Orxonox with the following command (If you compiled it yourself its ./orxonox instead of orxonox):
env R300_SPAN_DISABLE_LOCKING="true" orxonox
If you get an error message (while compiling) that 'msr.h' is missing you have to copy it from the following path. (If you have a different kernel version the path may differ)
sudo cp /usr/src/linux-headers-2.6.17-10/include/asm-i386/msr.h /usr/include/asm-i386/msr.h
If you get an error message '/usr/bin/ld cannot find -llualib' use the following command to solve:
user@system:/usr/lib# ln -s liblualib50.a liblualib.a