On Visual Studio 2010, I just had to copy the relevant sources files and everything worked dandy. Doing the same in XCode gives me trouble when I reach the linker stage:
Code: Select all
Undefined symbols for architecture armv7:
"btCollisionDispatcher::btCollisionDispatcher(btCollisionConfiguration*)", referenced from:
Collision::Init(World::polygon_t*, int) in p_collision.o
"vtable for btSphereShape", referenced from:
btSphereShape::btSphereShape(float) in p_collision.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver()", referenced from:
Collision::Init(World::polygon_t*, int) in p_collision.o
"btCollisionObject::activate(bool) const", referenced from:
Collision::SetThingPosition(Object::object_s*) in p_collision.o
Object::SetScale(Object::object_s*, float) in p_object.o