Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Initial Version and Version 1 of dev/WindowsMinGW


Ignore:
Timestamp:
Oct 3, 2008, 2:14:10 AM (16 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dev/WindowsMinGW

    v1 v1  
     1= Windows MingW =
     2[[TOC]]
     3
     4== MinGW ==
     5[[TOC(heading=Platforms, depth=1, WindowsMinGW, VisualStudio, LinuxGentoo, LinuxDebian, LinuxUbuntu, LinuxTardis)]]
     6Download the MinGW package provided by sourceforge: [http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780 Download] [[br]]
     7Install it to {{{c:\mingw\}}}
     8
     9
     10== MSYS ==
     11Download the MSYS Installer from sourceforge: [http://svn.orxonox.net/webdev/develop/win32/dev/MSYS-1.0.10.exe Download] [[br]]
     12MSYS (Minimal SYStem) is a software port of the Unix-Shell to Windows. It's used by MinGW-Developers as a minimal system which can, for example, execute configure-scripts.
     13 1. Install MSYS into another path than MinGW
     14 1. During the installation process answer yes (y) twice
     15 1. Specify the exact path of MinGW directory, so MSYS can configure the important links (most probably this will be C:\mingw\).
     16
     17
     18== SVN ==
     19Now you need to get subversion from [http://subversion.tigris.org].[[br]]
     20There is also a very useful GUI-version at [http://tortoisesvn.tigris.org] (the command line version is good if you are experienced with the shell, otherwise download the GUI-version).
     21
     22
     23== Get the source ==
     24Switch to the home-directory of your MSYS installation: {{{ C:\<msys-install-path>\home\<username>\ }}}[[br]]
     25This is your homedirectory in MSYS, this is where the action takes place.
     26
     27Check out the Orxonox-repository from https://svn.orxonox.net/orxonox/trunk/ into a folder named 'trunk', for example {{{c:\<msys-homedir>\trunk\}}}
     28
     29Open the MSYS console and type:
     30{{{
     31svn co !https://svn.orxonox.net/orxonox/trunk trunk
     32}}}
     33
     34Additionally we need the media repository:
     35{{{
     36svn co !https://svn.orxonox.net/data/Media media
     37}}}
     38
     39(Or do it with [http://tortoisesvn.tigris.org TortoiseSVN], the GUI-version of SVN)
     40
     41== Dependencies ==
     42Download the Orxonox dependencies here: --to come--[[br]]
     43Extract the archive into {{{c:\<msys-homedir>\}}}
     44
     45== CMake ==
     46Now we can build Orxonox. To do so, we need CMake. CMake is a cross-platform system for build automation. Download the latest binary release from [http://cmake.org/HTML/Download.html here] and install it (add CMake to the system PATH).
     47
     48Open the MSYS console, change into your trunk folder and create a shortcut in the MSYS console:
     49{{{
     50cd trunk
     51echo "cmake . -G \"MSYS Makefiles\"" > cm
     52}}}
     53
     54
     55== Building Orxonox ==
     56Type into the MSYS console:
     57 1. ./cm ''(the file we created just before)''
     58 2. make
     59
     60Now run Orxonox with the 'orxonox.bat' file in the 'bin' folder. If you used another directory hierarchy than in this tutorial, you'll have to adjust the paths in the .bat file.