Problems building OgreBullet Demo

Karm

08-09-2008 15:03:27

Hi!
I tried to build the OgreBullet demo, just to test my OgreBullet dlls
but I get some Errors, some relating to my OgreBullet dlls and cpps, and also to my MinGW installation as well...

Can maybe someone help me?
I am using the latest OgreBullet Version from the CVS and Ogre 1.4.9 with MinGW for Code::Blocks...



..\..\obj\Debug Win32\src\main.o||In function `ZSt11__copy_aux2IP18OgreBulletListenerEPT_S3_S3_S3_11__true_type':|
...\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\c++\3.4.5\bits\stl_algobase.h:
(.text$_ZN12Ragdoll_DemoC1Ev[Ragdoll_Demo::Ragdoll_Demo()]+0x4c)||
undefined reference to `vtable for Ragdoll_Demo'|
...\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\c++\3.4.5\bits\stl_algobase.h:
(.text$_ZN12Terrain_DemoC1Ev[Terrain_Demo::Terrain_Demo()]+0x4c)||
undefined reference to `vtable for Terrain_Demo'|
..\..\..\..\Collisions\bin\Debug Win32\libOgreBulletCollisions_CVS_Eihort_d.a(OgreBulletCollisionsMeshToShapeConverter.o)||
In function `ZN20OgreBulletCollisions28AnimatedMeshToShapeConverter35createOrientedCapsuleCollisionShapeEhRKN4Ogre7Vector3ERKNS1_10QuaternionE':|
3\OgreBullet_CVS\Collisions\src\Utils\OgreBulletCollisionsMeshToShapeConverter.cpp|776|
undefined reference to `OgreBulletCollisions::CapsuleCollisionShape::CapsuleCollisionShape(float, float, Ogre::Vector3 const&)'|
..\..\..\..\Collisions\bin\Debug Win32\libOgreBulletCollisions_CVS_Eihort_d.a(OgreBulletCollisionsWorld.o)||In function `ZN20OgreBulletCollisions15CollisionsWorldC2EPN4Ogre12SceneManagerERKNS1_14AxisAlignedBoxEbb':|
3\OgreBullet_CVS\Collisions\src\OgreBulletCollisionsWorld.cpp|71|
undefined reference to `btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher*)'|
..\..\..\..\Collisions\bin\Debug Win32\libOgreBulletCollisions_CVS_Eihort_d.a(OgreBulletCollisionsWorld.o)||In function `ZN20OgreBulletCollisions15CollisionsWorldC1EPN4Ogre12SceneManagerERKNS1_14AxisAlignedBoxEbb':|
3\OgreBullet_CVS\Collisions\src\OgreBulletCollisionsWorld.cpp|71|
undefined reference to `btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher*)'|
..\..\..\..\Dynamics\bin\Debug Win32\libOgreBulletDynamics_CVS_Eihort_d.a(OgreBulletDynamicsWorld.o)||
In function `ZN18OgreBulletDynamics13DynamicsWorldC2EPN4Ogre12SceneManagerERKNS1_14AxisAlignedBoxERKNS1_7Vector3Eb':|
3\OgreBullet_CVS\Dynamics\src\OgreBulletDynamicsWorld.cpp|64|
undefined reference to `btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher*)'|
..\..\..\..\Dynamics\bin\Debug Win32\libOgreBulletDynamics_CVS_Eihort_d.a(OgreBulletDynamicsWorld.o)||
In function `ZN18OgreBulletDynamics13DynamicsWorldC1EPN4Ogre12SceneManagerERKNS1_14AxisAlignedBoxERKNS1_7Vector3Eb':|
3\OgreBullet_CVS\Dynamics\src\OgreBulletDynamicsWorld.cpp|64|undefined reference to `btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher*)'|
...\bullet-2.70\out\release8\libs\libbulletdynamics.a(btDiscreteDynamicsWorld.o):btDiscreteDynamicsWorld.cpp:(.text+0x68b1)||
undefined reference to `btSimulationIslandManager::btSimulationIslandManager()'|
...\bullet-2.70\out\release8\libs\libbulletdynamics.a(btDiscreteDynamicsWorld.o):btDiscreteDynamicsWorld.cpp:(.text+0x6bf1)||
undefined reference to `btSimulationIslandManager::btSimulationIslandManager()'|
...\bullet-2.70\out\release8\libs\libbulletdynamics.a(btDiscreteDynamicsWorld.o):btDiscreteDynamicsWorld.cpp:(.text+0x7255)||
undefined reference to `btSimulationIslandManager::buildAndProcessIslands(btDispatcher*, btAlignedObjectArray<btCollisionObject*>&, btSimulationIslandManager::IslandCallback*)'|
||=== Build finished: 10 errors, 0 warnings ===|


The most of the time there are undifind references... but i can't figured it out why...