Segmentation fault (core dumped) when using cv_bridge(ROS indigo) and OpenCV 3

来源:互联网 发布:淘宝网显示手机版 编辑:程序博客网 时间:2024/06/05 03:45

I was also having essentially the same issue, probably due to multiple versions of OpenCV being linked with my binary.

I was able to resolve the segfault by cloning the vision_opencv repository into my catkin workspace.

Then, my package explicitly requires OpenCV 3:

find_package(OpenCV 3 REQUIRED)

This recompiles the cv_bridge package with OpenCV, and the resulting binary is only linked against OpenCV3 libraries

点击打开链接

0 0
原创粉丝点击