Old Method of Compiling Bullet

From VDrift
Revision as of 10:24, 26 August 2012 by Timo 6 (talk | contribs) (2 revisions: Import from old wiki (on 15 May 2012))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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:

Using Jam

./autogen.sh
./configure
jam bulletcollision bulletmath

Using CMake

cmake .
make

Using 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.