| | 1 | |
| | 2 | [[OutdatedPage]] |
| | 3 | |
| | 4 | ''tutorial works (patrick, 04/16/07)'' |
| | 5 | |
| | 6 | === Ubuntu Versions === |
| | 7 | Installing Orxonox was tested on Ubuntu Dapper Drake (6.06), Edgy Eft (6.10) and Feisty Fawn (7.04). |
| | 8 | |
| | 9 | === Installing the Libraries === |
| | 10 | |
| | 11 | {{{ |
| | 12 | 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 |
| | 13 | ... |
| | 14 | }}} |
| | 15 | |
| | 16 | === Installing developer tools === |
| | 17 | |
| | 18 | {{{ |
| | 19 | wraith user $ sudo aptitude install subversion automake1.9 g++ |
| | 20 | }}} |
| | 21 | |
| | 22 | === Getting the Source & Data === |
| | 23 | |
| | 24 | Check out the source and Data via svn anonymous, this will download the hole project to the directory orxonox-dir |
| | 25 | {{{ |
| | 26 | wraith user $ svn co http://svn.orxonox.net/orxonox.OLD/trunk orxonox-dir/trunk |
| | 27 | wraith user $ svn co http://svn.orxonox.net/data/trunk orxonox-dir/data/trunk |
| | 28 | }}} |
| | 29 | 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: |
| | 30 | {{{ |
| | 31 | wraith user $ svn co https://svn.orxonox.net/orxonox.OLD/trunk orxonox-dir/trunk |
| | 32 | wraith user $ svn co https://svn.orxonox.net/data/trunk orxonox-dir/data/trunk |
| | 33 | }}} |
| | 34 | You will be asked for user name and password, that you have from us. |
| | 35 | |
| | 36 | |
| | 37 | === Compiling === |
| | 38 | Just change into the trunk directory, execute configure and make.... |
| | 39 | {{{ |
| | 40 | wraith user $ cd ./orxonox-dir/trunk/ |
| | 41 | wraith user $ ./autogen.sh |
| | 42 | wraith user $ ./configure |
| | 43 | ... |
| | 44 | wraith user $ make |
| | 45 | }}} |
| | 46 | |
| | 47 | === Playing === |
| | 48 | {{{ |
| | 49 | wraith user $ cd ./orxonox-dir/trunk/src |
| | 50 | |
| | 51 | wraith user $ ./orxonox |
| | 52 | |
| | 53 | }}} |
| | 54 | Select the data file orxonox/data/trunk/data.oxd in the menu and play! |
| | 55 | |
| | 56 | |
| | 57 | === Ubuntu package (OUTDATED) === |
| | 58 | Instead of compiling Orxonox you can also get the Ubuntu packages here [http://people.ee.ethz.ch/~psachs] |
| | 59 | |
| | 60 | or you can add the following source to /etc/apt/sources.list: |
| | 61 | {{{ |
| | 62 | deb http://people.ee.ethz.ch/~psachs edgy games |
| | 63 | }}} |
| | 64 | |
| | 65 | === Known Bugs === |
| | 66 | 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): |
| | 67 | {{{ |
| | 68 | env R300_SPAN_DISABLE_LOCKING="true" orxonox |
| | 69 | }}} |
| | 70 | |
| | 71 | 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) |
| | 72 | {{{ |
| | 73 | sudo cp /usr/src/linux-headers-2.6.17-10/include/asm-i386/msr.h /usr/include/asm-i386/msr.h |
| | 74 | }}} |
| | 75 | |
| | 76 | If you get an error message '/usr/bin/ld cannot find -llualib' use the following command to solve the problem: |
| | 77 | {{{ |
| | 78 | cd /usr/lib/ |
| | 79 | sudo ln -s liblualib50.a liblualib.a |
| | 80 | }}} |