CrackArt - Build Instructions
Contents |
SceneEngine - Build_Instructions.
Download wxWidgets 2.8.10 for Windows:
Downloads > Current Stable Release: wxWidgets 2.8.10 > Source Archives > wxAll
Set the WXWIN Environment Variable to the folder where you installed wxWidgets (the folder that contains the subfolders include lib and src.)
You might need to re-start Visual Studio for this change to take effect.
Edit the file $(WXWIN)/include/wx/msw/setup.h
Search wxUSE_GLCANVAS and set the value to 1
Search wxUSE_ODBC and set the value to 1
Save the file.
Open the project $(WXWIN)/build/msw/wx.dsw
Set the project configuration as DLL Debug and build the solution.
Set the project configuration as DLL Release and build the solution.
wxjpeg, wxpng, wxtiff, wxzlib, wxregex, wxexpat, base, core, adv, html and the rest in any order.
Download wxPropertyGrid 1.2.12 from:
http://wxpropgrid.sourceforge.net/cgi-bin/index
Download > Download Source Code > Old Stable Release > Windows Source Installer : wxpropgrid-1.2.12-win.exe
Install it in the same directory where wxWidgets was installed (WXWIN).
Open the Project:
(WXWIN)\contrib\build\propgrid\propgrid.dsw
And compile propgrid in DLL Debug and DLL Release configuration modes.
The raytracer uses boost.threads for multithreading. The easiest way for windows users to get boost.threads libraries is to install boost consulting:
http://www.boostpro.com/products/free
Download BoostPro 1.38.0 Installer and install the Multithreading DLL and Multithreading DLL Debug libraries DateTime, FileSystem and Thread for Visual Studio 2005.
Open the solution CrackArtExe.sln.
CrackArt needs to be built in this order:
After the build finishes, copy the bitmaps to the output folder:
from: CrackArt/src/Controls/TimeLine/bitmaps
to: bin/release/bitmaps bin/debug/bitmaps
Some users have experienced problems running CrackArt if the ogre dll files are in the same folders as CrackArt.exe.
This is the required structure of files to properly run CrackArt:
(CrackArt Folder)/CrackArt.exe (CrackArt Folder)/CrackArt.zip (CrackArt Folder)/CommonDlgs.dll (CrackArt Folder)/Controls.dll (CrackArt Folder)/Core.dll (CrackArt Folder)/PolyCount.dll (CrackArt Folder)/MaterialsGUI.dll (CrackArt Folder)/bitmaps/all.png (CrackArt Folder)/bitmaps/all_b.png (CrackArt Folder)/bitmaps/ff1x.png (CrackArt Folder)/bitmaps/ffx.png (CrackArt Folder)/bitmaps/left.png (CrackArt Folder)/bitmaps/middle.png (CrackArt Folder)/bitmaps/playx.png (CrackArt Folder)/bitmaps/rewx.png (CrackArt Folder)/bitmaps/right.png (CrackArt Folder)/bitmaps/timex.png (CrackArt Folder)/bitmaps/twoarrowsx.png