Ask Your Question
1

Undefined symbols for architecture x86_64 when cmaking the image_geometry package for Jade on Mac OS Yosemite [closed]

asked 2016-05-10 11:44:44 -0600

Antonnnn gravatar image

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.

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by Antonnnn
close date 2016-06-10 13:23:56.971826

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-06-10 12:31:05 -0600

jkp gravatar image

I also have this problem. Please update, if you found a solution.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-05-10 11:44:44 -0600

Seen: 241 times

Last updated: Jun 10 '16