Cannot build cv_bridge for ROS Jade on OSX Yosemite [closed]

asked 2016-09-22 09:20:43 -0600

GlenH gravatar image

I'm getting the following error:

[ 0%] Built target std_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_py
[ 0%] Built target std_msgs_generate_messages_cpp
[ 0%] Built target std_msgs_generate_messages_eus
[ 0%] Built target geometry_msgs_generate_messages_py
[ 0%] Built target geometry_msgs_generate_messages_lisp
[ 0%] Built target sensor_msgs_generate_messages_cpp
[ 0%] Built target sensor_msgs_generate_messages_lisp
[ 0%] Built target sensor_msgs_generate_messages_py
[ 0%] Built target sensor_msgs_generate_messages_eus
[ 0%] Built target geometry_msgs_generate_messages_eus
[ 0%] Built target geometry_msgs_generate_messages_cpp
[ 50%] Built target cv_bridge
[ 66%] Linking CXX shared library /Users/glenhenshaw/Code/ros_catkin_ws/devel_isolated/cv_bridge/lib/python3.5/site-packages/cv_bridge/boost/cv_bridge_boost.so
Undefined symbols for architecture x86_64:
"boost::python::detail::init_module(PyModuleDef&, void ()())", referenced from:
_PyInit_cv_bridge_boost in module.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]:
[/Users/glenhenshaw/Code/ros_catkin_ws/devel_isolated/cv_bridge/lib/python3.5/site-packages/cv_bridge/boost/cv_bridge_boost.so] Error 1
make[1]:
[src/CMakeFiles/cv_bridge_boost.dir/all] Error 2
make: *
* [all] Error 2

I've installed the patch listed on the "Installation Instructions for Jade in OSX" page, but it doesn't change the behavior.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2018-09-24 12:19:41.002376