example/HelloWorld works in cmake_build, but not with make install. Segfault 11 on btMatrix3x3.h #3748
Replies: 2 comments
-
I'm having exactly this issue. I can build the examples within the main bullet directory, but I cannot build any stand-alone files using the bullet library. Is there a preferred way for building stand-alone programs that I'm missing (I'm using cmake)? |
Beta Was this translation helpful? Give feedback.
-
My apologies; the issue was a conflicting installation of bullet (from apt-get, as a ROS dependency). Modifying my |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am on MacOs Sierra.
I compiled bullet using the sh script provided in bullets top level dir. If I go into the
cmake_build
and run the example binaries found there, the HelloWorld example works well.I then ran a make install which put the includes in
/usr/local/include/bullet
and the dylibs in/usr/local/lib
I make a new directory for the hello world example and use the following CMakeLists.txt
Simple enough. It compiles. However, when I run the app it makes, I get a segfault 11
Using lldb, I get the following message:
Beta Was this translation helpful? Give feedback.
All reactions