= Windows with MingW = [[TOC(heading=Platforms, depth=1, WindowsMinGW, VisualStudio, LinuxGentoo, LinuxDebian, LinuxUbuntu, LinuxTardis)]] == MinGW == Download the MinGW package: [https://svn.orxonox.net/webdev/develop/win32/dev/MinGW_Toolbox_Setup_wr1.exe Download] * Usually MinGW is installed to {{{c:\mingw}}} == MSYS == Download the MSYS Installer from sourceforge: [https://svn.orxonox.net/webdev/develop/win32/dev/MSYS-1.0.10.exe Download] [[br]] MSYS (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. 1. Install MSYS into another path than MinGW 1. During the installation process answer yes (y) twice 1. Specify the path of the MinGW directory (most probably this will be {{{c:/mingw}}}). Switch to the home-directory of your MSYS installation: {{{C:\\home\\}}}[[br]] This is your homedirectory in MSYS, this is where the action takes place. == SVN == To use [wiki:SVN] on your system we recommend TortoiseSVN, a very useful GUI-version. [http://tortoisesvn.net/downloads Download] TortoiseSVN is a shell extension. You can use it within Windows Explorer. Most options are available through the context menu (right mouse button). == Get the source == Check out the Orxonox-repository from {{{https://svn.orxonox.net/orxonox/trunk/}}} into a folder named 'trunk', for example {{{c:\\trunk\}}} * URL: {{{https://svn.orxonox.net/orxonox/trunk/}}} * Checkout directory: {{{c:\\trunk\}}} In TortoiseSVN this is done by right clicking into {{{c:\\}}} and chosing "SVN checkout...". Then set the URL of the repository to {{{https://svn.orxonox.net/orxonox/trunk/}}} and the checkout directory to {{{c:\\trunk\}}} Checkout depth should be "Fully recursive" and revision "HEAD". Accept the certificate and enter your username and password in the authentication form. If you're not using TortoiseSVN, use the "svn co repository directory" command. See [wiki:SVN] for more information. Now do the same with the same with the media repository: * URL: {{{https://svn.orxonox.net/data/Media}}} * Checkout directory: {{{c:\\media}}} Now you should have the following directories in your home: {{{ c:\\media c:\\trunk }}} == Dependencies == Download the Orxonox dependencies. [https://bla./ --to come--][[br]] Extract the archive into {{{c:\\}}} Now you should have the following directories in your home: {{{ c:\\libs c:\\media c:\\trunk }}} == CMake == 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 from [http://cmake.org/HTML/Download.html here] and install it. * While installing check the option to add CMake to the system PATH Open the MSYS console, change into your trunk folder and create a shortcut in the MSYS console: {{{ cd trunk echo "cmake . -G \"MSYS Makefiles\"" > cm }}} == DirectX SDK August 2006 == You need to install the DirectX SDK. Get the August 2006 edition since the dependencies contain the import libs only for this version. [http://www.microsoft.com/downloads/details.aspx?FamilyId=C72D9F1E-53F3-4747-8490-6801D8E8B4EF&displaylang=en Download] == Building Orxonox == Type into the MSYS console: {{{ #!html
./cm (the file we created just before)
make
}}} Compiling will take some time (CMake shows you the percentage). If everything worked fine, start Orxonox with {{{c:\\trunk\bin\orxonox.bat}}} If you used another directory hierarchy than in this tutorial, you'll have to adjust the path to the media directory in {{{c:\\trunk\bin\orxonox.ini}}} This file will be created after the first start of Orxonox.