WhirledPeas
29-03-2011 11:13:50
I've been trying to build Ogrebullet, however I've run into a snag where I keep getting tons of compile errors on my build. The problem is that all the bullet header files that OgreBullet is looking for can't be found. I've used processmonitor to determine that it keeps looking for them in the OgreBullet project directory, and not in the bullet directories. I originally started going in and just copying each header file as I discovered that it was needed to the directory that the IDE is expecting to find them in, but I realized that there are literally dozens of programs with header includes and scores of bullet headers, and going in and copying all the needed files over one at a time into the OgreBullet project directory or making changes to all the include statements would take so long. Now, I realize that this is a pretty noob question, but what am I supposed to set the IDE build options to to remedy this.
Here is an example of the build errors that I've been getting.
There are more of them, but they more or less are the same kind of error, looking for various bullet header files.
I think that it is possible that the solution is to change the project property entry for:
Configuration Properties| C/C++ | General| Additional Include Directories:
which reads:
I'm guessing that the ...\...\include part is the one I'm supposed to change, but I'm not sure exactly how as there are 3 different include directories to choose from. Also, I'm not sure if there are any other options I'm supposed to change.
I already changed the BULLET_ROOT environment variable to what I think is the proper location of bullet. Could someone help me out here? thanks in advance.
EDIT: Also, I'm using VC9 Express.
Here is an example of the build errors that I've been getting.
fatal error C1083: Cannot open include file: 'LinearMath/btMotionState.h'
There are more of them, but they more or less are the same kind of error, looking for various bullet header files.
I think that it is possible that the solution is to change the project property entry for:
Configuration Properties| C/C++ | General| Additional Include Directories:
which reads:
...\...\include;"$(BULLET_ROOT)\src";"$(BULLET_ROOT)\Extras\ConvexDecomposition";"$(OGRE_HOME)\OgreMain\include"
I'm guessing that the ...\...\include part is the one I'm supposed to change, but I'm not sure exactly how as there are 3 different include directories to choose from. Also, I'm not sure if there are any other options I'm supposed to change.
I already changed the BULLET_ROOT environment variable to what I think is the proper location of bullet. Could someone help me out here? thanks in advance.
EDIT: Also, I'm using VC9 Express.