Version 47 (modified by scheusso, 16 years ago) (diff) |
---|
Ubuntu
Platforms
Edited: 15. Sep. 2008 by Felix?
Checked (dependencies reviewed) (r1571): 9. Jun. 2008 by Beni? on Ubuntu 8.04 (Hardy Heron)
Unfortunately there is no package available for Orxonox yet. We're eager to release one, though. Until then, you can get a copy of Orxonox' source code and build it on your own. If you experience problems, see this page or contact us.
Dependencies
To install all tools and libraries Orxonox needs, use the following command
user@ubuntu:~> sudo aptitude install build-essential cmake libogre-dev libois-dev libboost-thread-dev libopenal-dev libalut-dev libenet-dev libfreeimage-dev libzzip-dev liblua5.1-0-dev tcl8.4-dev libcegui-mk2-dev
Get the Source Code
First, create a folder for Orxonox. Then get a copy of the code by checking out the trunk via anonymous subversionlogin . This will download the latest stable version to the directory trunk. If you have trouble using SVN, go here?.
user@ubuntu:~> mkdir orxonox user@ubuntu:~> cd orxonox user@ubuntu:~/orxonox> svn co http://svn.orxonox.net/orxonox/trunk trunk
You won't be able to contribute your own code (check in) with the anonymous subversion login. You have to ask us for a username/password combination. If you have an account, check the code out like this:
user@ubuntu:~/orxonox> svn co https://svn.orxonox.net/orxonox/trunk trunk
You will then be asked for the username and password, that you got from us.
Furthermore, you will need to check out our data repository. This repository contains all the graphics, fonts and sounds and other third-party data for Orxonox. To check it out use the command:
user@ubuntu:~/orxonox> svn co https://svn.orxonox.net/data/Media Media
Compiling
Just cd to the trunk directory, then execute configure and make and finally run the game:
user@ubuntu:~/orxonox> cd trunk user@ubuntu:~/orxonox/trunk> cmake . ... user@ubuntu:~/orxonox/trunk> make -j4 ... user@ubuntu:~/orxonox/trunk> ./run
If orxonox aborts with an error message considering the Media repository make sure that you configured the path of the Media repository (in bin/orxonox.ini) correctly.