# How would I setup the Environment Variables for BulletPhysics?

I am using Bullet Physics v2.78. And Im trying to build this library to be used for ogrebullet. The main problem is that Im getting errors trying to find the Bullet Directory.

Im wondering if maybe my environment variables are setup wrong.

I am using Windows Vista 32 bit, and here are my Environment variables:

BULLET_ROOT: C:\BulletPhys

BULLET_INCLUDE_DIR: C:\BulletPhys\src

as other information I am trying to build these libraries in cMake. Bullet physics builds perfectly, but ogrebullet cant find the libraries needed to configure(Dynamics, Collision, LinearMath, etc.)

So my question is: How would I setup the environment variables so ogrebullet can find them?

If any other information is needed i will provide upon request.

Thanks

-Molma

After building bullet, you have to copy the libs to the ogre folder as explained here

Particulary this part: "Put these files to ....\OgreBullet\lib\Debug\:"

• Yes I did this step already, the first thing I did actually ._. does it matter what the filenames are called? mine have the prefix lib- in each file. – Molmasepic Jun 6 '11 at 16:45
• Yes the file names are important, don't change them if not explicitely stated in the link above, just do what it says – Maik Semder Jun 6 '11 at 17:09
• Hm...thats odd, because thats how my libraries were outputted when building..maybe i should change the name to what they say in the tutorial? – Molmasepic Jun 6 '11 at 17:20
• Yes that sounds good – Maik Semder Jun 6 '11 at 17:24
• alright, ill do that. But it will be a while before i can reply...In class right now, so I have to get back home first since its on my computer. – Molmasepic Jun 6 '11 at 17:26