[Resolved]Segfault on HelloWorld.cpp, btCollisionDispatcher
Posted: Thu Apr 15, 2021 2:39 pm
Hi,
I'm starting using Bullet for a project with Ros,
I successfully compile it and link it for cmake, and I can launch the tutorial examples without problems.
However, when I start using Bullet function in my code, (here the first two line of helloworld, I'm getting a segfault :"
The segfault is coming from the second line, I can create a btDefaultCollisionConfiguration with no problem, but as soon as write the second line, I have a segfault on execution.
Do you have any idea on where this might come from ?
[EDIT] The segfault is trigger by the second line, but a dispatcher is still properly created
Best regards
I'm starting using Bullet for a project with Ros,
I successfully compile it and link it for cmake, and I can launch the tutorial examples without problems.
However, when I start using Bullet function in my code, (here the first two line of helloworld, I'm getting a segfault :"
Code: Select all
btDefaultCollisionConfiguration* collisionConfiguration = new btDefaultCollisionConfiguration();
btCollisionDispatcher* dispatcher = new btCollisionDispatcher(collisionConfiguration);
Do you have any idea on where this might come from ?
[EDIT] The segfault is trigger by the second line, but a dispatcher is still properly created
Best regards