| PathEngine home | previous: | next: |
The demo source code is available on
the PathEngine downloads page,
in the package 'playableDemoSourceMM_mm.zip',
where MM and mm are the major and minor release numbers of the associated SDK release.
Releases of the SDK may be made without affecting the playable demo, so it is common for the version numbers
of this package to lag behind the version numbers of the current SDK release.
Unzip the source code to the same directory as the demo runtime.
The demo solution and project are in the 'samples/demo' directory. Some code from 'samples/shared' is also used.
To build the demo in Visual Studio simply load the supplied solution and build the 'demo' project.
This will create a file 'demo.dll' (release configuration) or 'demod.dll' (debug configuration) in the bin subdirectory of your installation.
You should then be able to run the demo directly from Visual Studio.
The release dll can also be run, as usual, by double clicking 'run playable demo.bat' in the root installation directory.
Building with other compilers should be fairly straightforward if you know your way around your compiler.
You can examine 'samples/demo/demo.vcproj' (which is a text file) for a list of .cpp files that need to be built and for include directories to add.
The .cpp files need to be compiled into objects and then linked together to create a dll ('demo.dll' to be placed in the 'bin' subdirectory).
Please refer to your compiler specific documentation for instructions about compiling object files and building dlls.
| Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEngine | next: |