I'm new to Bullet, ran through the demo programs got them compiling/running just fine, started to add the Bullet HelloWorld demo to an existing VS2008 project and ran into a couple errors.
It compiles nice and happy with
Code: Select all
btDefaultCollisionConfiguration* collisionConfiguration = new btDefaultCollisionConfiguration();
btCollisionDispatcher* dispatcher = new btCollisionDispatcher(collisionConfiguration);
btBroadphaseInterface* overlappingPairCache = new btDbvtBroadphase();
Code: Select all
btSequentialImpulseConstraintSolver* solver = new btSequentialImpulseConstraintSolver;
Creating library ..\..\Final\Lib\Main.dll.lib and object ..\..\Final\Lib\Main.dll.exp
Main.obj : error LNK2019: unresolved external symbol "void * __fastcall btAlignedAllocInternal(unsigned int,int)" (?btAlignedAllocInternal@@YIPAXIH@Z) referenced in function "public: static void * __fastcall btSequentialImpulseConstraintSolver::operator new(unsigned int)" (??2btSequentialImpulseConstraintSolver@@SIPAXI@Z)
Main.obj : error LNK2019: unresolved external symbol "void __fastcall btAlignedFreeInternal(void *)" (?btAlignedFreeInternal@@YIXPAX@Z) referenced in function "public: static void __fastcall btSequentialImpulseConstraintSolver::operator delete(void *)" (??3btSequentialImpulseConstraintSolver@@SIXPAX@Z)
..\..\Final\Bin/Main.dll : fatal error LNK1120: 2 unresolved externals
Any help would be greatly appreciated.