Version 28 (modified by wenners, 17 years ago) (diff) |
---|
Ubuntu Linux
Last checked: 28. Oct. 2007 by Beni? on Ubuntu 7.10 (Gutsy Gibbon)
Last Revision: 09. Feb. 2008 by nico?, currently untested
Unfortunately here is not yet a Debian package available for Orxonox. We're eager to release one, though.
Dependencies and third party libs
Packages: cmake, libogre-dev, libcegui-mk2-dev, libois-dev, libenet1-dev, libboost-thread-dev
To install use the following command
$ sudo apt-get install cmake libogre14-dev libcegui-mk2-1-dev libois-dev libnet1-dev libboost-thread-dev
Download those with your favorite package manager.
CEGui
Using the CEGui package (libcegui) from Ubuntu results in runtime errors during the loading sequence of Ogre. Building CEGui by yourself with the right options solves the problem:
- Download CEGui from the official page
- Unzip the package
tar xzf CEGUI-0.5.0b.tar.gz
- Enter the directory and configure CEGui with the following options
cd CEGUI-0.5.0/ ./configure --with-default-xml-parser=TinyXMLParser --with-default-image-codec=TGAImageCodec
- Compile and install CEGui and you're ready to go
make sudo make install
Get the source
Check out the source via anonymous subversion login. This will download the whole project to the directory orxonox-dir.
$ svn co http://svn.orxonox.net/orxonox/trunk orxonox-trunk
You won't be able to commit your own code (check in) with the anonymous subversion repository. You have to ask us for a username/password combination. If you already have an account, check it out like this:
$ svn co https://svn.orxonox.net/orxonox/trunk orxonox-trunk
You will be asked for your username and password, that you got from us.
Compile
$ cd orxonox-trunk $ cmake . ... $ make ... $ ./run --mode standalone
Possible Bugs
Graphics
Using the "radeon" driver with your ATI graphics card will result in ugly shadow bugs in Ogre. Use flgrx instead.
Building
If you get the error message
configure: error: C++ compiler cannot create executables
install the build-essential package:
aptitude install build-essential
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.OLD/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.OLD/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