Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Initial Version and Version 1 of dev/LinuxSource


Ignore:
Timestamp:
Oct 8, 2008, 6:47:11 PM (16 years ago)
Author:
scheusso
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dev/LinuxSource

    v1 v1  
     1= Building orxonox from source using Linux =
     2This page describes how to build Orxonox using the latest source code.
     3
     4== Get the Source Code ==
     5First, 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 [wiki:SVN here].
     6{{{
     7user@unix:~> mkdir orxonox
     8user@unix:~> cd orxonox
     9user@unix:~/orxonox> svn co http://svn.orxonox.net/orxonox/trunk trunk
     10}}}
     11You 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:
     12{{{
     13user@unix:~/orxonox> svn co https://svn.orxonox.net/orxonox/trunk trunk
     14}}}
     15You will then be asked for the username and password, that you got from us.
     16
     17Furthermore, 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:
     18{{{
     19user@ubuntu:~/orxonox> svn co https://svn.orxonox.net/data/Media Media
     20}}}
     21
     22== Compiling ==
     23Just cd to the trunk directory, then make a build directory, execute cmake and make and finally run the game:
     24{{{
     25user@ubuntu:~/orxonox> cd trunk
     26user@ubuntu:~/orxonox/trunk> mkdir build
     27user@ubuntu:~/orxonox/trunk> cd build
     28user@ubuntu:~/orxonox/trunk/build> cmake ..
     29...
     30user@ubuntu:~/orxonox/trunk/build> make -j4
     31...
     32user@ubuntu:~/orxonox/trunk/build> cd ..
     33user@ubuntu:~/orxonox/trunk> ./run
     34}}}
     35 * If cmake produces some error messages complaining about dependencies make sure you installed everything neccessary for your OS.
     36 * 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.