Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 3 and Version 4 of dev/WindowsMinGW/345


Ignore:
Timestamp:
Sep 17, 2010, 11:04:40 PM (14 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dev/WindowsMinGW/345

    v3 v4  
    6565{{{
    6666#!div style="background-color: #D0F0D0; border: solid 1px #000000;"
    67 In TortoiseSVN this is done by right clicking into {{{c:\<msys-homedir>\}}} and chosing "SVN checkout...". ([attachment:wiki:WindowsMinGW:orxonox_svn_checkout.gif see this picture])
     67In TortoiseSVN this is done by right clicking into {{{c:\<msys-homedir>\}}} and chosing "SVN Checkout...". ([attachment:wiki:WindowsMinGW:orxonox_svn_checkout.gif see this picture])
    6868
    6969Then set the URL of the repository to {{{https://svn.orxonox.net/game/code/trunk/}}} and the checkout directory to {{{c:\<msys-homedir>\trunk\}}} (checkout depth should be "Fully recursive" and revision "HEAD").
     
    102102}}}
    103103
    104 Now we can build Orxonox. To do so, we need CMake. CMake is a cross-platform system for build automation. Download the latest binary release ('''at least version 2.6''') from [http://cmake.org/HTML/Download.html here] and install it.
     104Download the latest binary release from [http://www.cmake.org/cmake/resources/software.html here] and install it.
    105105 * '''While installing check the option to "add CMake to the system PATH"'''
    106106
     
    110110}}}
    111111
    112 == Building Orxonox ==
    113 Open the MSYS console, change into your trunk folder and create an output directory for the binaries:
     112== Build Orxonox ==
     113Open the MSYS console, change into your trunk folder and create a build directory:
    114114{{{
    115115$ cd trunk
     
    123123$ make
    124124}}}
    125 The first command "cm" will check your system (and the dependency directory) for all needed libraries, create the configuration and generate the makefiles. The second "make" command builds Orxonox. If you have a multicore CPU, use "make -j3" instead of just "make". If you get an error while executing one of those steps, report it in the [http://forum.orxonox.net/ Forum] or ask us in [irc://irc.orxonox.net/orxonox IRC].
     125The first command ({{{cm}}}) will check your system (and the dependency directory) for all needed libraries, create the configuration and generate the makefiles. The second command ({{{make}}}) builds Orxonox.
     126
     127If you have a multicore CPU, use the {{{-j [arg]}}} option for {{{make}}} (where {{{[arg]}}} is the number of parallel build threads). For example {{{make -j3}}} will spawn 3 threads, which is a reasonable number for a dual-core CPU.
     128
     129If you get an error while executing one of those steps, report it in the [http://forum.orxonox.net/ Forum] or ask us in [irc://irc.orxonox.net/orxonox IRC].
    126130
    127131Compiling will take some time (CMake shows you the percentage). Be patient.[[br]]
    128132
     133See some pictures of this:
     134 - [attachment:wiki:WindowsMinGW:orxonox_build1.gif Step 1]
     135 - [attachment:wiki:WindowsMinGW:orxonox_build2.gif Step 2]
     136 - [attachment:wiki:WindowsMinGW:orxonox_build3.gif Step 3]
     137
     138== Run Orxonox ==
    129139If everything worked fine, start Orxonox with {{{c:\<msys-homedir>\trunk\build\run.bat}}} (you can't execute orxonox.exe directly).