For info on finding Bullet, see the wiki:
http://code.google.com/p/osgbullet/wiki/BuildingOsgBullet#Finding_the_OSG_and_Bullet_Dependencies
Updates would be appreciated, if you find any info is out of date.
-Paul
The FindBullet.cmake script that comes with CMake (which osgBullet uses) is
usually in a location like this on Windows:
C:\Program Files\CMake 2.8\share\cmake-2.8\Modules\FindBullet.cmake
I do believe it supports environment variables to help find Bullet.
In that script, you can see that it sets BULLET_INCLUDE_DIR to the directory
that contains the file btBulletCollisionCommon.h. osgBullet's CMake script just
adds ${BULLET_INCLUDE_DIR} to the list of directories to search for header
files. So, osgBullet source might have something like this:
#include <BulletCollision/CollisionDispatch/btCollisionObject.h>
I believe this is correct because BulletCollision is a subdirectory of the
directory that contains btBulletCollisionCommon.h.
Does that help?
-Paul