I'm interested in programming using the bulletphysics library. While doing the first steps I was trying to run the "HelloWorld" program from the website (http://www.bulletphysics.com/mediawiki- ... ello_World). Unfortunately I got some errors like:
First I thought that there is a linker problem and so I checked the paths of correctness (the files are in the concerning directories and I could open them!). Then I found out that the code looks like:undefined reference to 'btAxisSweep3::btAxisSweep3(btVector3 const&, btVector3 const&, unsigned short, btOverlappingPairCache*, bool)'
Code: Select all
#include <btBulletDynamicsCommon.h>
int main (void)
{
btVector3 worldAabbMin(-10000,-10000,-10000);
btVector3 worldAabbMax(10000,10000,10000);
int maxProxies = 1024;
btAxisSweep3* broadphase = new btAxisSweep3(worldAabbMin,worldAabbMax,maxProxies);
...
[btAxisSweep3(worldAabbMin,worldAabbMax,maxProxies) vs btAxisSweep3(btVector3 const&, btVector3 const&, unsigned short, btOverlappingPairCache*, bool)]
source: http://www.bulletphysics.com/Bullet/Bul ... weep3.html
Please correct me if I am wrong!
I tried to correct the implementation but was stumbling over the btOverlappingPairCache... it has no constructor - virtual function...
Hope anyone could give me a hint about that all!
Thanks
Leo