| 10 | | For developers we recommend to install the latest version of [http://ogre3d.org/index.php?option=com_content&task=view&id=412&Itemid=132 Ogre]. However, you might run into problems compiling Ogre. |
| 11 | | |
| 12 | | Packages: cmake, libogre-dev, libois-dev, libenet-dev, libboost-filesystem-dev, libboost-thread-dev, libfreeimage-dev, libzzip-dev, liblua5.1-0-dev, tcl8.4-dev |
| 13 | | |
| 14 | | To install use the following command or just use your favorite packet manager. |
| | 11 | To install all tools and libraries Orxonox needs, use the following command |
| 28 | | You will be asked for your username and password, that you got from us. |
| | 25 | You will then be asked for the username and password, that you got from us. |
| | 26 | Furthermore, you will need to check out the media repository. This repository contains all the graphics, fonts and sounds for Orxonox. To check it out, do: |
| | 27 | {{{ |
| | 28 | $ svn co https://svn.orxonox.net/data/Media media |
| | 29 | }}} |
| | 30 | Now make sure, you have set the correct path to your media directory in the file orxonox.ini. |
| 55 | | If you haven't installed Ogre with the package manager, you'll have to change the path in ''orxonox-dir/bin/plugin.cfg'' from ''/usr/lib/OGRE'' to ''/usr/local/lib/OGRE''. |
| 56 | | |
| 57 | | |
| 58 | | ----- |
| 59 | | |
| 60 | | [[OutdatedPage]] |
| 61 | | |
| 62 | | ''tutorial works (patrick, 04/16/07)'' |
| 63 | | |
| 64 | | === Ubuntu Versions === |
| 65 | | Installing Orxonox was tested on Ubuntu Dapper Drake (6.06), Edgy Eft (6.10) and Feisty Fawn (7.04). |
| 66 | | |
| 67 | | === Installing the Libraries === |
| 68 | | |
| 69 | | {{{ |
| 70 | | 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 |
| 71 | | ... |
| 72 | | }}} |
| 73 | | |
| 74 | | === Installing developer tools === |
| 75 | | |
| 76 | | {{{ |
| 77 | | wraith user $ sudo aptitude install subversion automake1.9 g++ |
| 78 | | }}} |
| 79 | | |
| 80 | | === Getting the Source & Data === |
| 81 | | |
| 82 | | Check out the source and Data via svn anonymous, this will download the hole project to the directory orxonox-dir |
| 83 | | {{{ |
| 84 | | wraith user $ svn co http://svn.orxonox.net/orxonox.OLD/trunk orxonox-dir/trunk |
| 85 | | wraith user $ svn co http://svn.orxonox.net/data/trunk orxonox-dir/data/trunk |
| 86 | | }}} |
| 87 | | 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: |
| 88 | | {{{ |
| 89 | | wraith user $ svn co https://svn.orxonox.net/orxonox.OLD/trunk orxonox-dir/trunk |
| 90 | | wraith user $ svn co https://svn.orxonox.net/data/trunk orxonox-dir/data/trunk |
| 91 | | }}} |
| 92 | | You will be asked for user name and password, that you have from us. |
| 93 | | |
| 94 | | |
| 95 | | === Compiling === |
| 96 | | Just change into the trunk directory, execute configure and make.... |
| 97 | | {{{ |
| 98 | | wraith user $ cd ./orxonox-dir/trunk/ |
| 99 | | wraith user $ ./autogen.sh |
| 100 | | wraith user $ ./configure |
| 101 | | ... |
| 102 | | wraith user $ make |
| 103 | | }}} |
| 104 | | |
| 105 | | === Playing === |
| 106 | | {{{ |
| 107 | | wraith user $ cd ./orxonox-dir/trunk/src |
| 108 | | wraith user $ ./orxonox |
| 109 | | |
| 110 | | }}} |
| 111 | | Select the data file orxonox/data/trunk/data.oxd in the menu and play! |
| 112 | | |
| 113 | | |
| 114 | | === Ubuntu package (OUTDATED) === |
| 115 | | Instead of compiling Orxonox you can also get the Ubuntu packages here [http://people.ee.ethz.ch/~psachs] |
| 116 | | |
| 117 | | or you can add the following source to /etc/apt/sources.list: |
| 118 | | {{{ |
| 119 | | deb http://people.ee.ethz.ch/~psachs edgy games |
| 120 | | }}} |
| 121 | | |
| 122 | | === Known Bugs === |
| 123 | | 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): |
| 124 | | {{{ |
| 125 | | env R300_SPAN_DISABLE_LOCKING="true" orxonox |
| 126 | | }}} |
| 127 | | |
| 128 | | 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) |
| 129 | | {{{ |
| 130 | | sudo cp /usr/src/linux-headers-2.6.17-10/include/asm-i386/msr.h /usr/include/asm-i386/msr.h |
| 131 | | }}} |
| 132 | | |
| 133 | | If you get an error message '/usr/bin/ld cannot find -llualib' use the following command to solve the problem: |
| 134 | | {{{ |
| 135 | | cd /usr/lib/ |
| 136 | | sudo ln -s liblualib50.a liblualib.a |
| 137 | | }}} |
| | 60 | If you haven't installed Ogre with the package manager, you'll have to change the path in ''trunk/bin/plugin.cfg'' from ''/usr/lib/OGRE'' to ''/usr/local/lib/OGRE''. |