• Advertisement
Sign in to follow this  

Bullet Segmentation Hello World

This topic is 2767 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I recently posted a question about how to get Bullet to correctly compile/link with Code::Blocks and Ubuntu 10.04, to which I got many helpful responses. Though I got it to compile and link, I keep getting a pesky segmentation error whenever I try to call:


btRigidBody is an initialized object, i'm not trying to call that as is :-p. The point is that whenever I call that, it seems that the returned motionstate from getMotionState() is empty... leading to a segmentation error.

I have also ran into segmentation errors by calling


and the exact line of that function is the same as the first piece of code.

As a fool proof test, I tried to compile the Bullet Hello World code verbatim and still got the same error around the getMotionState... does anyone know what is causing this or how to solve this error?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement