Compiling The Source Code for Seamless3d Using the Free Microsoft Visual C++ 2008 Express Compiler
VC 9 express
Download the DVD that contains Visual C++ Express (as well as all the Express products) in a single image (ISO) file:
http://www.microsoft.com/express/download/ Be sure to download the Offline Install from the above URL so that you can reinstall it again and again in the future. After the ISO file has been downloaded, burn it onto a DVD Install VC9 by Inserting the DVD into the DVD drive, select the instalation for the C++ compiler and follow the prompts.
Download the DirectX SDK file from the Microsoft Site:
and install the exe set up file by double clicking on it and following the prompts.
To set VC9 to know where the DirectX header and lib files are we must:
From the Tools menu select Options
Expand Projects and Solutions and select VC++ Directories
In the "Show directories for" drop down menu select "Include files"
add a new entry:
and add the full path to your DirectX SDK Include Folder, for example it will look something like:
C:\Program Files\Microsoft DirectX SDK (March 2009)\Include
In the "Show directories for" drop down menu select "Library files"
add a new entry and add the full path to your DirectX SDK Include Folder, for example it will look something like:
C:\Program Files\Microsoft DirectX SDK (March 2009)\Lib\x86
Add extra DirectX 8.1 Library and Include files that are no longer supplied in the DirectX SDKDownload extra-directx8.1.zip, unzip and copy the files from the lib folder into your DirectX SDK Lib folder and copy the files from the include folder into your DirectX SDK Include folder. Seamless3d Source Files
Download the seamless3d modeller source zip file from the Seamless3d source code page.
unzip the files into a folder
Go to the zlib home site www.zlib.net
Half way down the page you will see:
"The current release is publicly available here:"
Download a file from this section that is the nearest country to you.
unzip the contensts of the file into a sibling folder of the seamless3d modeller source folder and name it zlib
Compile the Files
run VC9 and select from the file menu: open/project/solution Open the file seamless3d.vcproj from the seamless3d modller source folder from the build menu select Build Solution
from the debug menu select Start Debugging
and seamless should run as a result in Debug mode (slower than Release mode) To compile seamless using Release mode so that the code is optimized for speed and size go to the Build menu and select:
configuration manager in the active solution configuration drop down menu select: Release
now when you build it will build the same seamless that I uploaded for users but for developing scripts we will want to compile seamless in debug mode so that we can single step code and inspect the values of variables.
Copyright © 2000-2009 Graham Perrett email@example.com