Version 19 (modified by bknecht, 17 years ago) (diff) |
---|
Ubuntu Linux
Using the "radeon" driver for your ATI graphics card will result in ugly shadow bugs with Ogre. Use the flgrx instead.
This is an outdated page! This page is very old and the content is not up to date. Not everything (if any) which is written here will be in the final game! |
tutorial works (patrick, 04/16/07)
Ubuntu Versions
Installing Orxonox was tested on Ubuntu Dapper Drake (6.06), Edgy Eft (6.10) and Feisty Fawn (7.04).
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/trunk orxonox-dir/trunk wraith user $ svn co http://svn.orxonox.net/data/trunk orxonox-dir/data/trunk
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/trunk orxonox-dir/trunk wraith user $ svn co https://svn.orxonox.net/data/trunk orxonox-dir/data/trunk
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 (OUTDATED)
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
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 the problem:
cd /usr/lib/ sudo ln -s liblualib50.a liblualib.a