Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Version 8 (modified by landauf, 11 years ago) (diff)

Windows with MingW

Platforms

    Error: Page WindowsMinGW does not exist
    Error: Page VisualStudio does not exist
    Error: Page LinuxGentoo does not exist
    Error: Page LinuxDebian does not exist
    Error: Page LinuxUbuntu does not exist
    Error: Page LinuxTardis does not exist

MinGW

Download the MinGW package provided by sourceforge: Download

Installation:

  1. Check "Download and Install"
  2. Check "current" package
  3. Select "g++ compiler" and "MinGW Make"
  4. Usually MinGW is installed to c:\mingw

MSYS

Download the MSYS Installer from sourceforge: Download
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
  2. During the installation process answer yes (y) twice
  3. Specify the path of the MinGW directory (most probably this will be c:\mingw).

SVN

To use SVN? on your system we recommend TortoiseSVN, a very useful GUI-version. 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

Switch to the home-directory of your MSYS installation: C:\<msys-install-path>\home\<username>\
This is your homedirectory in MSYS, this is where the action takes place.

Check out the Orxonox-repository from https://svn.orxonox.net/orxonox/trunk/ into a folder named 'trunk', for example c:\<msys-homedir>\trunk\

Open the MSYS console and type:

svn co !https://svn.orxonox.net/orxonox/trunk trunk

Additionally we need the media repository:

svn co !https://svn.orxonox.net/data/Media media

(Or do it with TortoiseSVN, the GUI-version of SVN)

Dependencies

Download the Orxonox dependencies here: —to come—
Extract the archive into c:\<msys-homedir>\

Now you should have the following directories in your home:

c:\<msys-homedir>\libs
c:\<msys-homedir>\media
c:\<msys-homedir>\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 here and install it (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

Building Orxonox

Type into the MSYS console:

  1. ./cm (the file we created just before)
  2. make

Now 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.

Attachments (6)

Download all attachments as: .zip