Compile (Windows)
Aus PantheonWiki
Visual Studio 2005
0. Check whether Visual Studio is installed properly and completely
For a self-compiled Ogre the DirectX SDK is necessary. If you are using Visual Studio Express Edition you need the Platform SDK. You need to pay attention to the 5 installation steps (http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/). You have to install SP1 for Visual Studio (http://msdn2.microsoft.com/en-us/vstudio/bb265237.aspx).
1. Get the source code
Check out the engine source code (Repository URL svn://svn.berlios.de/dsa-hl/rl/trunk or http://svn.berlios.de/svnroot/repos/dsa-hl/rl/trunk)
2. Dependencies
Create a directory "dependencies" within the downloaded directory from step 1.
The dependencies have to be placed inside the "dependencies" directory. Create the dependencies the easy or the hard way.
Afterwards the directories should be like this:
3. Create rl_dist directory
Create a directory "rl_dist" in the downloaded directory.
4. Compile RL
Open the rastullah.sln with Visual Studio and compile the whole solution in Release or Debug configuration.
5. Copy DLLs
Execute release_copy.bat/debug_copy.bat in the tools/ directory. For copying the debug configuration you have to run debug_copy.bat, for release the release_copy.bat. There can be only one configuration in the rl_dist directory.
6. Modules
Check out the modules (Repository svn://svn.berlios.de/dsa-hl/modules or http://svn.berlios.de/svnroot/repos/dsa-hl/modules) auschecken, copy the modules directory into rl_dist.
7. Logs directory
Create a directory named "logs" inside the directory rl_dist.
8. Run
Execute rastullah.exe in the directory rl_dist.
Dependencies - easy
- Get http://prdownload.berlios.de/dsa-hl/dependencies_vc2k5_20070411.7z and extract it into the checkout directory.
- Check out MeshMagick from Ogre's repository (ogreaddons/meshmagick) into directory "dependencies" and compile (dependencies\meshmagick)
- Check out OgreNewt, aiml, OpenSteer from the RL SVN repository (svn://svn.berlios.de/dsa-hl/dependencies) into the dependencies directory (or move them there after checkout) and compile the three projects
Dependencies - compile on your own
For debugging symbols (or if there is no precompiled package) you can compile RL's dependencies on your own.
Download and extract into dependencies/
- Download boost 1.34.0 or higher
- Compile thread, regex, signals, filesystem
- Ensure the libs are in \dependencies\boost\lib, the header files in dependencies\boost\include
- Download and compile cegui 0.6 and its dependencies
- directory dependencies\cegui_mk2
- Download and compile OIS 1.0
- directory dependencies\OIS
- Check out Ogre Branch v1-6 from SVN. Download and extract Ogre's dependencies. Replace the CEGUI files with the self-compiled ones. Compile Ogre (dependencies\ogrenew).
- Check out MeshMagick from Ogre's repository (ogreaddons/meshmagick) into directory "dependencies" and compile (dependencies\meshmagick)
- Check out OgreNewt, aiml, OpenSteer from the RL SVN repository (svn://svn.berlios.de/dsa-hl/dependencies) into the dependencies directory (or move them there after checkout) and compile the three projects

