Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Initial Version and Version 1 of dev/LinuxDebian


Ignore:
Timestamp:
Apr 21, 2005, 2:19:19 AM (20 years ago)
Author:
patrick
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dev/LinuxDebian

    v1 v1  
     1= Get it Running =
     2
     3== Debian Linux ==
     4
     5Install the following libraries:
     6 * SDL main library, libsdl1.2-dev, web: [http://www.libsdl.org/index.php link]
     7 * SDL image library, libsdl-image1.2-dev, web: [http://www.libsdl.org/index.php link]
     8 * SDL true type fonts, libsdl-ttf1.2-dev, web: [http://www.libsdl.org/index.php link]
     9 * SDL mixer, libsdl-mixer1.2-dev, web: [http://www.libsdl.org/index.php link]
     10
     11I guess you would have to do something like this:
     12{{{
     13wraith root # apt-get install libsdl1.2-dev
     14...
     15wraith root # apt-get install libsdl-image1.2-dev
     16...
     17wraith root # apt-get install libsdl-ttf1.2-dev
     18...
     19wraith root # apt-get install libsdl-mixer1.2-dev
     20}}}
     21
     22
     23=== Getting the Source ===
     24First you will have to install the subversion program, make sure, that the ssl support is enabled
     25{{{
     26wraith root # apt-get install subversion
     27}}}
     28Check out the source via svn anonymous, this will download the hole project to the directory orxonox-dir
     29{{{
     30wraith user # svn co http://svn.orxonox.ethz.ch/reporx/orxonox orxonox-dir
     31}}}
     32You 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:
     33{{{
     34wraith user # svn co https://svn.orxonox.ethz.ch/reporx/orxonox orxonox-dir
     35}}}
     36You will be asked for user name and password, that you have from us.
     37
     38
     39=== Compiling ===
     40Just change into the trunk directory, execute configure and make....
     41{{{
     42wraith user # cd ./orxonox/trunk/
     43wraith user # ./configure
     44...
     45wraith user # make
     46...
     47wraith user # cd src
     48wraith user # ./orxonox
     49}}}
     50
     51=== Profiling ===
     52If you want to profile (performance measureing) orxonox you will probably want to view the statistics in a special program like kprof. On Gentoo systems you can just emerge it:
     53{{{
     54wraith root # apt-get install kprof
     55}}}
     56Orxonox runs much much slower with profiling enabled, so don't be embarassed!
     57{{{
     58wraith user # cd ./orxonox/trunk/
     59wraith user # ./configure --enable-profile
     60...
     61wraith user # make
     62...
     63wraith user # cd src
     64wraith user # ./orxonox
     65}}}
     66Ok. Orxonox runs now (very slow) and writes its profiling stats to a file called gmon.out. Remember that _only_ those functinalities, that you are using while running the program will be profiled (since the profile log is written while the program is been executed). [[br]]
     67After you exit the application, you will have to parse the output file and then you are able to open it in kprof application:
     68{{{
     69wraith user # gprof -b ./orxonox > text.out
     70wraith user # kprof -f text.out
     71}}}
     72For more documentation see the DevelopmentResources.