Robotics StackExchange | Archived questions

adding tensorflow_ros_cpp to dependencies causes sigsegv to occur

I have a working version of my package. If I alter that version by adding tensorflowroscpp like so:

findpackage(catkin REQUIRED COMPONENTS
... tensorflow
ros_cpp
)

the package still compiles, but when I roslaunch the executable everything crashes immediately with return code -11. I am new to ros and tensorflow and I cannot figure out how come it compiles if it is going to crash just for loading a new library. Can someone please help?

Asked by ilinca on 2019-12-07 09:24:35 UTC

Comments

There is a good chance this is caused by C++ ABI difference problems.

Asked by gvdhoorn on 2019-12-07 09:41:33 UTC

Answers