Changes between Version 21 and Version 22 of dev/WindowsMinGW
- Timestamp:
- Mar 3, 2009, 9:44:52 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
dev/WindowsMinGW
v21 v22 31 31 In 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\}}} 32 32 Checkout depth should be "Fully recursive" and revision "HEAD". 33 Accept the certificate and enter your username and password in the authentication form .33 Accept 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). 34 34 35 35 If you're not using TortoiseSVN, use the "svn co repository directory" command. See [wiki:SVN] for more information. 36 36 37 Now do the same with the same with themedia repository:38 * URL: {{{https://svn.orxonox.net/data/ Media}}}37 Now do the same with the media repository: 38 * URL: {{{https://svn.orxonox.net/data/media}}} 39 39 * Checkout directory: {{{c:\<msys-homedir>\media}}} 40 40 … … 47 47 48 48 == Dependencies == 49 Download the Orxonox dependencies . [https://svn.orxonox.net/ogre/mingw_dependencies/libs_2467.rar Download][[br]]49 Download 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]] 50 50 Extract the archive into {{{c:\<msys-homedir>\}}} 51 51 52 52 Now you should have the following directories in your home: 53 53 {{{ 54 c:\<msys-homedir>\ libs54 c:\<msys-homedir>\dependencies 55 55 c:\<msys-homedir>\media 56 56 c:\<msys-homedir>\trunk 57 57 }}} 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.62 58 63 59 … … 68 64 Open the MSYS console, change into your trunk folder and create a binary output directory: 69 65 {{{ 70 cd trunk71 mkdir build72 cd build66 $ cd trunk 67 $ mkdir build 68 $ cd build 73 69 }}} 74 70 Then create a shortcut to save some typing: 75 71 {{{ 76 echo "cmake .. -G \"MSYS Makefiles\"" > cm72 $ echo "cmake .. -G \"MSYS Makefiles\"" > cm 77 73 }}} 78 74 This script will invoke CMake and create the Makefiles. … … 83 79 #!html 84 80 <pre class="wiki"> 85 ./cm <i><small>(the file we created just before)</small></i>86 make81 $ ./cm <i><small>(the file we created just before)</small></i> 82 $ make 87 83 </pre> 88 84 }}} 89 If you have two CPU cores, append "-j3" to"make".85 If you have a multicore CPU, use "make -j3" instead of just "make". 90 86 91 87 Compiling will take some time (CMake shows you the percentage). [[br]] 92 88 93 If everything worked fine, start Orxonox with {{{c:\<msys-homedir>\trunk\ run.bat}}}89 If everything worked fine, start Orxonox with {{{c:\<msys-homedir>\trunk\build\run.bat}}}