Bullet and OgreBullet Install for Windows (mingw)

Install Bullet and OgreBullet

Unzip the files from bullet.zip somewhere on your computer. I used C:\GameDev.

Project Settings

  1. Begin with a working Ogre project. I suggest copying and pasting the project in the eclipse project sidebar.

  2. Right click on the project and select "Properties"

  3. Click the "Advanced Settings..."

  4. Click the "C/C++ Build" drop-down on the left.

  5. Click Environment

  6. At the top of the "Tool Settings" tab, select "[All Configurations]" in "Configuration:". You may need to scroll up, to see it.

  7. Add an environment variable with the "Add..." button.

    NAME=BULLET_HOME      VALUE=C:\GameDev\bullet
    

  8. Edit the PATH environment variable so it now contains

    NAME=PATH            VALUE=C:\MinGW\bin;C:\GameDev\OgreSDK\bin;C:\GameDev\cegui;C:\GameDev\bullet
    

  9. Click "Settings" under "C/C++ Build" on the left side of the window.

  10. In the "Tool Settings" tab, click "Includes" under "GCC C++ Compiler"

  11. Click the Add button icon (a document with a green plus sign on the right).

  12. You will need to add the directories where the include files are for bullet and OgreBullet. You can type exactly what appears below. Eclipse will use the variable ${BULLET_HOME} here.

    ${BULLET_HOME}\include
    ${BULLET_HOME}\include\OgreBullet\Dynamics
    ${BULLET_HOME}\include\OgreBullet\Collisions
    

  13. Click "Libraries" under "GCC C++ Linker". In the section "Libraries (-l)" add the following names:

    BulletDynamics
    BulletCollision
    OgreBulletDynamics
    OgreBulletCollisions
    GIMPACTUtils
    ConvexDecomposition
    LinearMath
    
  14. Add the library paths in the "Library search path (-L)" area.

    ${BULLET_HOME}\bin
    ${BULLET_HOME}\lib
    
  15. Click "Ok".

  16. When you first make your run configuration, switch to the Environment tab and add a variable called PATH containing the value:

    C:\MinGW\bin;C:\GameDev\OgreSDK\bin;C:\GameDev\bullet\bin
    


Clif Presser<cpresser@gettysburg.edu>
Last modified: Fri Apr 10 13:25:41 EDT 2015