Undefined symbols for architecture x86_64 when cmaking the image_geometry package for Jade on Mac OS Yosemite [closed]
Undefined symbols for architecture x86_64: "cv::_InputArray::_InputArray(cv::Mat const&)", referenced from: image_geometry::PinholeCameraModel::rectifyImage(cv::Mat const&, cv::Mat&, int) const in pinhole_camera_model.cpp.o image_geometry::PinholeCameraModel::rectifyPoint(cv::Point_<double> const&) const in pinhole_camera_model.cpp.o image_geometry::PinholeCameraModel::unrectifyPoint(cv::Point_<double> const&) const in pinhole_camera_model.cpp.o image_geometry::StereoCameraModel::projectDisparityImageTo3d(cv::Mat const&, cv::Mat&, bool) const in stereo_camera_model.cpp.o "cv::_OutputArray::_OutputArray(cv::Mat&)", referenced from: image_geometry::PinholeCameraModel::rectifyImage(cv::Mat const&, cv::Mat&, int) const in pinhole_camera_model.cpp.o image_geometry::PinholeCameraModel::initRectificationMaps() const in pinhole_camera_model.cpp.o image_geometry::PinholeCameraModel::rectifyPoint(cv::Point_<double> const&) const in pinhole_camera_model.cpp.o image_geometry::PinholeCameraModel::unrectifyPoint(cv::Point_<double> const&) const in pinhole_camera_model.cpp.o image_geometry::StereoCameraModel::projectDisparityImageTo3d(cv::Mat const&, cv::Mat&, bool) const in stereo_camera_model.cpp.o "vtable for cv::_InputArray", referenced from: image_geometry::PinholeCameraModel::initRectificationMaps() const in pinhole_camera_model.cpp.o image_geometry::PinholeCameraModel::rectifyPoint(cv::Point_<double> const&) const in pinhole_camera_model.cpp.o image_geometry::PinholeCameraModel::unrectifyPoint(cv::Point_<double> const&) const in pinhole_camera_model.cpp.o image_geometry::StereoCameraModel::projectDisparityImageTo3d(cv::Mat const&, cv::Mat&, bool) const in stereo_camera_model.cpp.o NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "vtable for cv::_OutputArray", referenced from: image_geometry::PinholeCameraModel::unrectifyPoint(cv::Point_<double> const&) const in pinhole_camera_model.cpp.o NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. 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/magictosha/ros_catkin_ws/devel_isolated/image_geometry/lib/libimage_geometry.dylib] Error 1 make[1]: [CMakeFiles/image_geometry.dir/all] Error 2 make: ** [all] Error 2
I really don't get what's going on, I thought it maybe the issue with other installed versions of OpenCV, so I deleted them, but it still gives the same error. Thank you for your help.