I'm currently using the latest version of bullet physics in a project mine, or I should say, am trying to use. I have it up and simulating just fine without adding rigid bodies. I finished up some model loading code and tried to create a rigid body. I should note I'm using GNU Linux (Kubuntu Feisty), with kernel version 2.6.20 running g++ with kdeveleop. When I try to create a btRigidBody dynamically as shown in the version 1.x to 2.x migration, I get this compiler error.
Code: Select all
/home/douglas/Code/engine/engine/src/RigidBody.cpp:37: error: invalid use of undefined type ‘struct btRigidBody’
Which doesn't make any sense considering it's a class, not a struct. My only speculation is that this has something to do with the new c-api code. Thanks for your help as always, Douglas.
PS:
http://palodequeso.geektyme.org