I successfully built the Bullet libs and demos. When I copy and pasted the HelloWorld.cpp demo code into my new project and try to link with the libLibBullet*.a archives, I get the following link error:
Code: Select all
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
btSimulationIslandManager::buildAndProcessIslands(btDispatcher*, btAlignedObjectArray<btCollisionObject*>&, btSimulationIslandManager::IslandCallback*)
btSimulationIslandManager::btSimulationIslandManager()
collect2: ld returned 1 exit status
btSimulationIslandManager::buildAndProcessIslands() is the only missing symbol, which is strange. nm reports that my libLibBulletCollision.a indeed contains a symbol named btSimulationIslandManager::buildAndProcessIslands() (but the name is mangled so perhaps my problem is a type mismatch?).
I know my libLibBulletCollision.a is being found because if I comment it out from my project's CMakeLists.txt file, I get link errors for other bullet symbols (as one would expect).
thanks!
chris