O'Reilly logo

Programming Game AI by Example by Mat Buckland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C
Setting Up Your
Development Environment
Downloading the Demo Executables
You can download the demo executables discussed in the book from the
following URL: www.wordware.com/files/ai. Then click on Buckland_
AIExecutables.zip.
Downloading and Installing the Source Code
To set up your development environment in order to compile and run the
projects discussed in the book, follow these steps:
1. Download the zip file containing the source code from
www.wordware.com/files/ai. Then click on Buckland_AISource.zip.
Unzip and extract to a folder of your choice (for example, C:\AI
Source).
2. Download and install the Boost library headers from www.boost.org.
(By default this will be something like C:\ boost_1_31_0.)
3. Assuming you have unzipped Boost and the source code into the fold
-
ers specified in steps 1 and 2, add the following paths to the general
settings of your compiler in your development environment.
Include file paths
n
C:\ boost_1_31_0
n
C:\AI Source\Common
n
C:\AI Source\Common\lua-5.0\include
n
C:\AI Source\Common\luabind
Source file paths
n
C:\AI Source\Common
n
C:\AI Source\Common\lua-5.0
n
C:\AI Source\Common\luabind
Library file paths
n
C:\AI Source\Common\lua-5.0\lib
475
This page intentionally left blank.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required