Sorry for all these noobish questions, but here comes another one :
Q : While compiling an irrlicht/bullet demo code I got from scavanging these forums I'm having these particular errors that show up in the debugger as :
Code:
-undefined reference to `btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(btStackAlloc*, btPoolAllocator*, btPoolAllocator*)'|
undefined reference to `btAxisSweep3::btAxisSweep3(btVector3 const&, btVector3 const&, unsigned short, btOverlappingPairCache*)'|
undefined reference to `btRigidBody::btRigidBody(float, btMotionState*, btCollisionShape*, btVector3 const&, float, float, float, float)'|
undefined reference to `btRigidBody::btRigidBody(float, btMotionState*, btCollisionShape*, btVector3 const&, float, float, float, float)'|
these debugging errors output are associated with the following lines of codes :
(theses lines aren't following each other in the code, there's a gap of 100 lines in one case)
Code:
btDefaultCollisionConfiguration *CollisionConfiguration = new btDefaultCollisionConfiguration();
btBroadphaseInterface *BroadPhase = new btAxisSweep3(btVector3(-1000, -1000, -1000), btVector3(1000, 1000, 1000));
btRigidBody *RigidBody = new btRigidBody(TMass, MotionState, Shape, LocalInertia);
btRigidBody *RigidBody = new btRigidBody(TMass, MotionState, Shape, LocalInertia);
I've looked into the api and btRigidBody seem to be still there so I'm guess this isn't the problem...
idk if I forgot to include something, so far all I have included is :
(And it is included fine... AFAIK)
Code:
#include <irrlicht/irrlicht.h>
#include <bullet/btBulletCollisionCommon.h>
#include <bullet/btBulletDynamicsCommon.h>
#include <cstdlib>
...also, there are a lot of other bt stuff that works just fine, such as "btBroadphaseInterface" and "btCollisionDispatcher"... so I really don't know what's going on with these 4 particular lines.
So yea...
If anyone have any clue on what can cause these "undefined" errors thanks for sharing them.
I'm not new to play with debugging issues, but this one really makes me clueless on how to solve it...
Any help is welcome.