Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Version 12 (modified by rgrieder, 11 years ago) (diff)

Windows with Visual Studio

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

Preparations

You need to get either Visual Studio 2005 or Visual Studio 2008. We do not support .NET 2003 because the compiler is missing an important extension (variadic macros). There has also been no testing with any Express Edition version.

DirectX

You sure have DirectX 9 already installed..

Getting everything set and done

  1. Checkout the HEAD revision of the trunk or of any branch you like. Also checkout the media repository and put it on the same directory level as your source checkout. More information can be found in the SVN? section.

  2. The next thing is getting the external dependencies. We supply these as precompiled archives (see at the bottom) with the lib, dll and include files. You might also be interested in the debug symbols to step through the dependency libraries. Once you got the archive, put it in the directory of your source checkout folder and extract it right there (not in a new folder). This will create a folder named "dependencies" that includes everything necessary.

You should now have a directory structure like this:

media (repository checkout, you choose the name..)
 ...
trunk (repository checkout, you choose the name..)
 bin
 cmake
 dependencies
  bin
  include
  lib
 src
  audio
  ...


  1. We use CMake to have better cross platform support. Get the latest (at least v2.6) binaries at cmake.org and extract/install them.
  2. Run bin/cmake-gui.exe and select your source checkout folder ('trunk' in my example above). The binary folder below can be anywhere except the source folder itself. We suggest trunk/build.
  3. Hit "configure" twice (or as long as "generate" is unavailable) and then "generate". You will be prompted to select a generator. Choose the Visual Studio version you have (64 bit is not yet supported!).
  4. Go to your freshly created binary folder, open Orxonox.sln and hit F7. That will build orxonox.
  5. On the left you see all targets, make sure that 'Orxonox' is bold by right clicking on it and selecting "Set as StartUp Project".
  6. F5 will start the game.


More information on the build system can be found here?.

If you have any trouble, feel free to contact me (Reto '1337' Grieder).