Prerequests

To build with this guide we assume that you have a functional Microsoft Windows system and thats about it.

Getting software

Install Darcs

Grab the newest version from:  http://zooko.com/darcs/ (darcsdir-w32-1.0.9.zip) and install it in your program location. You can then add the location to your PATH variable to ease later use. This is done in the properties window for My Computer under Advanced -> Environment variables. You want to add, remember to restart your console every time a path has been added.

;C:\path\to\darcsdir-w32

Install CMake

Grab the latest windows installer from:  http://www.cmake.org/HTML/Download.html. When presented with the "Intall Options" dialog please choose "Add CMake to the system PATH" to ease later usage.

Install Python

Grab the latest windows installer for python2 from: ' http://www.python.org/download/', at time of writing 2.7 And simply install it :)

Getting the compiler

Now its time to get the most recent MinGW compiler(gcc for Windows), the simplest way of doing this, is using the windows installer found on: ' http://sourceforge.net/projects/mingw/files', at time of writing this is the 'mingw-get-inst-20100909.exe'. Make sure to install the C++ compiler (or just install the entire thing). - This might take a while, as the installer will download the most reasent versions of things. Once the install is done, make sure to add the 'MinGW\bin' folder to the environment variables, like you did with darcs.

;C:\path\to\MinGW\bin

Then the MinGW compiler should be ready to go, you can check this by opening the console (cmd) and typing; 'gcc' - the output should be something alike 'gcc: no input files'

Building

Get OpenEngine source

Open a command prompt (Start -> Run -> enter 'cmd' and hit return). Now cd to the location were you want to place the source directory. Run:

darcs get http://openengine.dk/code/openengine openengine

Once darcs states: "Finished Getting", then you have the sourcecode!

Install dependencies

As for dependencies these will automatically be downloaded, by the openengine dist system, when needed.

However, once getting the source, you'll have to run a command to get default libaries, that is:

dist.py data

This will get you the dependencies for the core itself.

(found a badly outdated libary? - Check if VLC has it:  http://download.videolan.org/pub/testing/win32/)

Optional dependencies

Doxygen

As for doxygen, go to ' http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc' and download the latest installer for windows, install it, and your done (CMake will detect this).

Building

Assuming your this far, and you got your path variables correct, its just a matter of opening up a cmd, cd'ing to the oe root and calling:

make.py

This will start up cmake, and end up compiling everything, and if all goes well, you should end up completing with 100%.

You just compiled openengine!