PathEngine home previous: Build Directories and Namingnext: Building with the Python Build Scripts
Contents, Programmers Guide, Building the Source Code, Building in Visual Studio

Building in Visual Studio

Finding Visual Studio project and solution files

Visual studio project and solution files are provided for the following platforms (by 'platform code'):

Project and solution files for the PC platform are included with the base source packages.
Project and solution files for other platforms are then added when platform specific source code archives are installed.

All project and solution files are located under the 'SDKRoot/VisualStudio' directory, in subdirectories corresponding to the relevant platform code.

(So, for example, the Visual Studio project and solution files for the 'PC' platform are located under 'SDKRoot/VisualStudio/PC'.)

Building the solutions

To build, just load the relevant solution into Visual Studio, right click the SDK component you wish to build, and select 'build'.

Additional build requirements for the 3DS Max ground export plugin

Before building the 3DS Max ground export plugin ('GroundExport_Max') you need to add include and library search paths for your 3DS Max SDK installation to the Visual Studio standard search paths.

Additional build requirements for the Maya ground export plugin

Before building the Maya ground export plugin ('GroundExport_Maya') you need to add include and library search paths for your Maya installation to the Visual Studio standard search paths.

Exception handling

The project files supplied for the 'PC' platform have exception handling turned off, and the _HAS_EXCEPTIONS preprocessor define set to 0 to turn off exception handling code in the STL headers.

(See Exception Handling.)

In case of any problems exception handling can be reenabled by simply setting 'Enable C++ exceptions' to 'yes', and removing the pre-processor define.

(Turning off exception handling gives us some performance improvements, but with a more significant improvement in terms of executable size.)


Documentation for PathEngine release 5.29 - Copyright © 2002-2012 PathEnginenext: Building with the Python Build Scripts