I'm am trying to use Bullet 2.76 and XCode 4.0.2 in a project. I follow the instructions given on http://bulletphysics.org/mediawiki-1.5. ... sing_XCode, had exactly the problem mentionned in the end of the tutorial, and followed the instructions.
I had this issue: http://bulletphysics.org/Bullet/phpBB3/ ... php?t=6686, but the solution given in this topic worked for me.
Then, in my XCode project, in the main.cpp, I added "#include <BulletDynamics/btBulletDynamicsCommon.h> and the autocompletion even worked for this.
However, I still get exactly the same errors as before, which were:
And were supposed to be solved in the tutorial. Why?Undefined symbols for architecture x86_64:
"btAlignedFreeInternal(void*)", referenced from:
btAlignedAllocator<int, 16u>::deallocate(int*) in main.o
btAlignedAllocator<btTriangleInfo, 16u>::deallocate(btTriangleInfo*) in main.o
btAlignedAllocator<btHashInt, 16u>::deallocate(btHashInt*) in main.o
"btTypedConstraint::serialize(void*, btSerializer*) const", referenced from:
vtable for btTypedConstraint in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thanks in advance,
Jones
