Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 21 and Version 22 of dev/WindowsMinGW


Ignore:
Timestamp:
Mar 3, 2009, 9:44:52 PM (15 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dev/WindowsMinGW

    v21 v22  
    3131In TortoiseSVN this is done by right clicking into {{{c:\<msys-homedir>\}}} and chosing "SVN checkout...". Then set the URL of the repository to {{{https://svn.orxonox.net/orxonox/trunk/}}} and the checkout directory to {{{c:\<msys-homedir>\trunk\}}}
    3232Checkout depth should be "Fully recursive" and revision "HEAD".
    33 Accept the certificate and enter your username and password in the authentication form.
     33Accept the certificate and enter your username and password in the authentication form (only if it's the first time you check out code from our server).
    3434
    3535If you're not using TortoiseSVN, use the "svn co repository directory" command. See [wiki:SVN] for more information.
    3636
    37 Now do the same with the same with the media repository:
    38  * URL: {{{https://svn.orxonox.net/data/Media}}}
     37Now do the same with the media repository:
     38 * URL: {{{https://svn.orxonox.net/data/media}}}
    3939 * Checkout directory: {{{c:\<msys-homedir>\media}}}
    4040
     
    4747
    4848== Dependencies ==
    49 Download the Orxonox dependencies. [https://svn.orxonox.net/ogre/mingw_dependencies/libs_2467.rar Download][[br]]
     49Download the Orxonox dependencies: [http://svn.orxonox.net/ogre/precompiled_dependencies/OrxonoxDeps_090303_MinGW.7z Download] (get 7-Zip [http://www.7-zip.org/ here]).[[br]]
    5050Extract the archive into {{{c:\<msys-homedir>\}}}
    5151
    5252Now you should have the following directories in your home:
    5353{{{
    54 c:\<msys-homedir>\libs
     54c:\<msys-homedir>\dependencies
    5555c:\<msys-homedir>\media
    5656c:\<msys-homedir>\trunk
    5757}}}
    58 
    59 
    60 == DirectX ==
    61 You will need to have DirectX 9 installed, but that should not be a problem anyway. OGRE is using the DirectX SDK version, but the required libraries are already supplied by us.
    6258
    6359
     
    6864Open the MSYS console, change into your trunk folder and create a binary output directory:
    6965{{{
    70 cd trunk
    71 mkdir build
    72 cd build
     66$ cd trunk
     67$ mkdir build
     68$ cd build
    7369}}}
    7470Then create a shortcut to save some typing:
    7571{{{
    76 echo "cmake .. -G \"MSYS Makefiles\"" > cm
     72$ echo "cmake .. -G \"MSYS Makefiles\"" > cm
    7773}}}
    7874This script will invoke CMake and create the Makefiles.
     
    8379#!html
    8480<pre class="wiki">
    85 ./cm <i><small>(the file we created just before)</small></i>
    86 make
     81$ ./cm <i><small>(the file we created just before)</small></i>
     82$ make
    8783</pre>
    8884}}}
    89 If you have two CPU cores, append "-j3" to "make".
     85If you have a multicore CPU, use "make -j3" instead of just "make".
    9086
    9187Compiling will take some time (CMake shows you the percentage). [[br]]
    9288
    93 If everything worked fine, start Orxonox with {{{c:\<msys-homedir>\trunk\run.bat}}}
     89If everything worked fine, start Orxonox with {{{c:\<msys-homedir>\trunk\build\run.bat}}}