Old Method of Compiling Bullet

From VDrift
Revision as of 06:21, 27 August 2012 by Timo 6 (talk | contribs) (Formatting style updates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Note: These are the old directions of compiling Bullet. The directions for the current version are on the Compiling page.

The Bullet physics library must be manually built on versions of VDrift prior to SVN R2321 and with releases up to and including the 8/5/08 release. A preferred version of the library is included with the VDrift source distribution as a .tgz file. On linux, bullet can be compiled like this (replace the X with whatever bullet version is included with the VDrift source distribution):

tar zxvf bullet-X.tgz
cd bullet-X

Then, proceed as below using either jam or cmake as your build tool:

Jam

./autogen.sh
./configure
jam bulletcollision bulletmath

CMake

cmake .
make

autotools

./autogen.sh
./configure
make

These steps should put the bullet libraries into a spot in the bullet-X tree that the VDrift build files are expecting.

Note: It is not necessary to install the bullet library on your system. In fact, installed versions of bullet may conflict with the version included with VDrift.