Support for Visual C++ 2005 ( v8 ) has been added. If you have ANY issues doing it please post about it so I can prevent others from having the same issue.
Due to the server issue, I will have to paste it in here.
Reality Factory 2 Compilation Guide for Windows
This guide illustrates compiling Reality Factory 2 on Windows using Visual C++ 2005.
Set up Visual C++ 2005 and the Platform SDK
First, you will of course need Visual C++ 2005; you can download the Express edition for free at http://msdn.microsoft.com/vstudio/express/visualc/ .
The platform SDK should now be installed. To do this, follow the instructions at http://msdn.microsoft.com/vstudio/expre ... usingpsdk/. This will take quite awhile, depending on your connection speed. After you have done this, don't forget to:
Finally, you need to install service pack 1 for VC++, which can be found at http://www.microsoft.com/downloads/deta ... laylang=en . Choose VS80sp1-KB926748-X86-INTL.exe and install it.One more step is needed to make the Win32 template work in Visual C++ Express. You need to edit the corewin_express.vsprops file (found in C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults) and
Change the string that reads:
AdditionalDependencies="kernel32.lib"
to
AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib"
The Ogre SDK
You should now download and install the Ogre SDK. You should use version 1.2. You can download it at http://downloads.sourceforge.net/ogre/O ... e?download .
The Python SDK
You now need to install the Python 2.4 SDK. You can download it at http://www.python.org/ftp/python/2.4.4/python-2.4.4.msi .
The Boost SDK
You also need the Boost SDK. You can download it at http://www.boost-consulting.com/boost_1_33_1_setup.exe . In the setup process, choose Visual C++ 8.0 as the compiler. Under Variants, choose “Single thread, static runtime”. Click next, check Boost Python, then click next again.
NOTE: This may not work due to library incompatibilities if you are running Windows Vista. If this is the case (you will get very weird compile errors), you must compile Boost by hand. You can choose to only compile and install Boost Python, which is all RF2 currently requires, by appending “--with-python” to the end of the install command.
Set it all up in Visual C++
Now that we have downloaded all the dependencies, we will need to tell VC++ where to find them. Open Visual C++ and click Tools->Options. Select Projects and Solutions->VC++ Directories. Under Show directories for, select Include files. Click add, fill in “C:\Python24\include” without quotes, and press enter. Click add again, fill in “C:\OgreSDK\include”, again without quotes, and press enter. Add, “C:\Program Files\boost\boost_1_33_1”, enter. Add, “C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include”, enter.
Next, change Show directories for to Library files. Add, “C:\Python24\libs”, enter. Add, “C:\OgreSDK\lib”, enter. Add, “C:\Program Files\boost\boost_1_33_1\lib”, enter. Add, “C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib”, enter. You can now finally click OK.
Grab the RF2 source code, build, and enjoy
NOTE: Normally, you could download a build pack to more easily have the RF2 source code. Currently, however, our download server is down, so you will have to use the following method.
Download and install TortoiseSVN from http://tortoisesvn.net/downloads . Restart your computer, then right-click in the folder you wish to download RF2 to. Click SVN Checkout. In the URL of the Repository field, put http://realityfactory2.svn.sourceforge. ... ory2/trunk . Click OK. You should see a dialog that shows the files being downloaded.
Open the folder it checked out to, then open the realityfactory2/build folder. Open RealityFactory2.sln, find the dropdown that says "Debug" and change it to "Release", and click Build->Build Solution. If all goes well, you should have a RealityFactory2.exe file in the realityfactory2 folder. You will now need to copy all DLL files from C:\OgreSDK\bin\release into the realityfactory2 folder, along with boost_python-vc80-mt-1_33_1.dll from C:\Program Files\Boost\boost_1_33_1\lib. Afterwards, you should be able to run RF2 by double-clicking RealityFactory2.exe.
Trouble?
If you have any trouble please post in the RF2 forum at http://www.realityfactory.info/forum/viewforum.php?f=13 or post to the mailing list, realityfactory2-devel@lists.sourceforge.net .