Demos folder is not in the include path, use relative path to access btDebugDrawer.h

remove non-existent projects from CMakeLists.txt

Thanks a lot to Paul Martz for the report and suggested fixes.
http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3069
This commit is contained in:
erwin.coumans
2009-01-14 01:18:41 +00:00
parent 33fe793bcd
commit 5a0d8a9470
3 changed files with 4 additions and 4 deletions

View File

@@ -2,11 +2,11 @@ if (CMAKE_SIZEOF_VOID_P MATCHES "8")
SUBDIRS( OpenGL AllBulletDemos ConvexDecompositionDemo Benchmarks HelloWorld
CcdPhysicsDemo ConstraintDemo SliderConstraintDemo GenericJointDemo
RagdollDemo ForkLiftDemo BasicDemo BspDemo MovingConcaveDemo VehicleDemo
ColladaDemo UserCollisionAlgorithm CharacterDemo SoftDemo TerrainDemo HeightFieldFluidDemo)
ColladaDemo UserCollisionAlgorithm CharacterDemo SoftDemo HeightFieldFluidDemo)
else (CMAKE_SIZEOF_VOID_P MATCHES "8")
SUBDIRS( OpenGL AllBulletDemos ConvexDecompositionDemo Benchmarks HelloWorld
MultiThreadedDemo CcdPhysicsDemo ConstraintDemo SliderConstraintDemo
GenericJointDemo RagdollDemo ForkLiftDemo BasicDemo BspDemo MovingConcaveDemo
VehicleDemo ColladaDemo UserCollisionAlgorithm CharacterDemo SoftDemo
TerrainDemo HeightFieldFluidDemo)
HeightFieldFluidDemo)
endif (CMAKE_SIZEOF_VOID_P MATCHES "8")

View File

@@ -8,7 +8,7 @@
#include "BulletCollision/CollisionDispatch/btManifoldResult.h"
#include "BulletCollision/CollisionShapes/btTriangleShape.h"
#include "BulletDynamics/Dynamics/btRigidBody.h"
#include "Demos/OpenGL/GLDebugDrawer.h"
#include "../../OpenGL/GLDebugDrawer.h"
btHfFluid::btHfFluid (btScalar gridCellWidth, int numNodesWidth, int numNodesLength)
{

View File

@@ -8,4 +8,4 @@ iffr.cpp
iffw.cpp
)
SUBDIRS( BulletIffConverter )
#SUBDIRS( BulletIffConverter )