Failed to process package 'cv_bridge' [closed]
I saw the same question somewhere, but I cannot even find the CMakeLists.txt in my directory.
I got is error below:
Scanning dependencies of target cv_bridge [ 50%] Building CXX object src/CMakeFiles/cv_bridge.dir/cv_bridge.cpp.o Linking CXX shared library /Users/ldsrogan/ros_catkin_ws/devel_isolated/cv_bridge/lib/libcv_bridge.dylib ld: warning: directory not found for option '-L/Users/ldsrogan/ros_catkin_ws/install_isolated/share/OpenCV/3rdparty/lib' [ 50%] Built target cv_bridge Scanning dependencies of target cv_bridge_boost [100%] Building CXX object src/CMakeFiles/cv_bridge_boost.dir/module.cpp.o Linking CXX shared library /Users/ldsrogan/ros_catkin_ws/devel_isolated/cv_bridge/lib/python2.7/site-packages/cv_bridge/boost/cv_bridge_boost.dylib ld: warning: directory not found for option '-L/Users/ldsrogan/ros_catkin_ws/install_isolated/share/OpenCV/3rdparty/lib' Undefined symbols for architecture x86_64: "_PyErr_SetString", referenced from: __ZL7failmsgPKcz in module.cpp.o "_PyExc_TypeError", referenced from: __ZL7failmsgPKcz in module.cpp.o "_PyImport_ImportModule", referenced from: init_module_cv_bridge_boost() in module.cpp.o "_PyInt_FromLong", referenced from: boost::python::to_python_value<int const&>::operator()(int="" const&)="" const="" in="" module.cpp.o="" "_pyint_type",="" referenced="" from:="" boost::python::to_python_value<int="" const&>::get_pytype()="" const="" in="" module.cpp.o="" "_pyobject_aswritebuffer",="" referenced="" from:="" __zl16convert_to_cvmatp7_objectpp5cvmatpkc="" in="" module.cpp.o="" "_pyobject_callobject",="" referenced="" from:="" __zl10from_cvmatp5cvmat="" in="" module.cpp.o="" "_pyobject_getattrstring",="" referenced="" from:="" __zl10from_cvmatp5cvmat="" in="" module.cpp.o="" "_pystring_asstring",="" referenced="" from:="" __zl16convert_to_cvmatp7_objectpp5cvmatpkc="" in="" module.cpp.o="" "_py_buildvalue",="" referenced="" from:="" __zl10from_cvmatp5cvmat="" in="" module.cpp.o="" "__py_nonestruct",="" referenced="" from:="" boost::python::api::object::object()="" 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]:="" <strong="">* [/Users/ldsrogan/ros_catkin_ws/devel_isolated/cv_bridge/lib/python2.7/site-packages/cv_bridge/boost/cv_bridge_boost.dylib] Error 1 make[1]: [src/CMakeFiles/cv_bridge_boost.dir/all] Error 2 make: ** [all] Error 2
<== Failed to process package 'cv_bridge': Command '/Users/ldsrogan/ros_catkin_ws/build_isolated/camera_calibration_parsers/catkin_generated/env_cached.sh make -j2' returned non-zero exit status 2 Command failed, exiting.
Any Idea?