I apologise in advance for the undoubtedly newbie error. I'm just getting started trying to use Bullet in an XCode CPP project. I've built and installed Bullet as a Mac OS X framework as discussed at http://bulletphysics.org/mediawiki-1.5. ... ork_Recipe.
I'm now trying to get XCode to build the following noddy file:
Code: Select all
#include <iostream>
#include <BulletDynamics/btBulletDynamicsCommon.h>
int main (int argc, char * const argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
Code: Select all
Undefined symbols:
"btTypedConstraint::serialize(void*, btSerializer*) const", referenced from:
vtable for btTypedConstraintin main.o
"btAlignedFreeInternal(void*)", referenced from:
btAlignedAllocator<btHashInt, 16u>::deallocate(btHashInt*) in main.o
btAlignedAllocator<btTriangleInfo, 16u>::deallocate(btTriangleInfo*)in main.o
btAlignedAllocator<int, 16u>::deallocate(int*) in main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
-N