Changes between Version 3 and Version 4 of dev/WindowsMinGW/345
- Timestamp:
- Sep 17, 2010, 11:04:40 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
dev/WindowsMinGW/345
v3 v4 65 65 {{{ 66 66 #!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])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]) 68 68 69 69 Then 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"). … … 102 102 }}} 103 103 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.104 Download the latest binary release from [http://www.cmake.org/cmake/resources/software.html here] and install it. 105 105 * '''While installing check the option to "add CMake to the system PATH"''' 106 106 … … 110 110 }}} 111 111 112 == Build ingOrxonox ==113 Open the MSYS console, change into your trunk folder and create a n output directory for the binaries:112 == Build Orxonox == 113 Open the MSYS console, change into your trunk folder and create a build directory: 114 114 {{{ 115 115 $ cd trunk … … 123 123 $ make 124 124 }}} 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]. 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 command ({{{make}}}) builds Orxonox. 126 127 If 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 129 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]. 126 130 127 131 Compiling will take some time (CMake shows you the percentage). Be patient.[[br]] 128 132 133 See 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 == 129 139 If everything worked fine, start Orxonox with {{{c:\<msys-homedir>\trunk\build\run.bat}}} (you can't execute orxonox.exe directly).