Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Initial Version and Version 1 of ~archive/LinuxDebian


Ignore:
Timestamp:
Sep 17, 2008, 10:12:23 PM (16 years ago)
Author:
FelixSchulthess
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ~archive/LinuxDebian

    v1 v1  
     1[[OutdatedPage]]
     2
     3=== Debian Sarge ===
     4Orxonox does not run on the official version of Debian Sarge because libqt4 is missing. Maybe using a backport of QT4 from http://backports.org/ could solve this problem (this has not yet been tested).
     5
     6=== Debian Etch ===
     7Installing Orxonox on Debian Etch 4.0 works fine. Installing on Debian Testing (Lenny) and Debian SID (aka Unstable Debian) should work too (this has not yet been tested).
     8
     9=== Installing the Libraries ===
     10
     11{{{
     12wraith root # apt-get 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
     16Users of the proprietary Nvidia driver need additional the nvidia opengl files:
     17{{{
     18wraith root # apt-get install nvidia-glx-dev
     19}}}
     20=== Installing Developer Tools ===
     21
     22{{{
     23wraith root # apt-get install subversion automake1.9 g++
     24}}}
     25
     26=== Getting the Source Code ===
     27
     28Check out the source via anonymous subversion login. This will download the whole project to the directory orxonox-dir.
     29{{{
     30wraith user $ svn co http://svn.orxonox.net/orxonox/trunk orxonox-dir/trunk
     31wraith user $ svn co http://svn.orxonox.net/data/trunk orxonox-dir/data/trunk
     32}}}
     33You 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:
     34{{{
     35wraith user $ svn co https://svn.orxonox.net/orxonox/trunk orxonox-dir/trunk
     36wraith user $ svn co https://svn.orxonox.net/data/trunk orxonox-dir/data/trunk
     37}}}
     38You will be asked for your username and password, that you got from us.
     39
     40
     41=== Compiling ===
     42Just change into the trunk directory, then execute configure and make....
     43{{{
     44wraith user $ cd ./orxonox/trunk/
     45wraith user $ ./autogen.sh
     46wraith user $ ./configure
     47...
     48wraith user $ make
     49}}}
     50
     51=== Playing ===
     52{{{
     53wraith user $ cd ./orxonox/trunk/src
     54wraith user $ ./orxonox
     55}}}
     56Select the data file orxonox/data/trunk/data.oxd in the menu and play!
     57
     58=== Profiling ===
     59If you want to profile Orxonox (measure its performance) you will probably want to view the statistics in a special program like kprof.
     60{{{
     61wraith root # apt-get install kprof
     62}}}
     63A word of warning: Orxonox runs much much slower with profiling enabled.
     64{{{
     65wraith user # cd ./orxonox/trunk/
     66wraith user # ./configure --enable-profile
     67...
     68wraith user # make
     69...
     70wraith user # cd src
     71wraith user # ./orxonox
     72}}}
     73Orxonox now runs very slowly and writes its profiling statistics to a file called gmon.out. Remember that _only_ the Orxonox functionalities you use while profiling will be profiled (since the profile log is written while the program is been executed). [[br]]
     74After you exit Orxonox, you can parse the output file and then open it in kprof:
     75{{{
     76wraith user # gprof -b ./orxonox > text.out
     77wraith user # kprof -f text.out
     78}}}
     79For more documentation see the [wiki:DevelopmentResources development resources].