Robotics StackExchange | Archived questions

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

Undefined symbols for architecture x8664: "cv::InputArray::InputArray(cv::Mat const&)", referenced from: imagegeometry::PinholeCameraModel::rectifyImage(cv::Mat const&, cv::Mat&, int) const in pinholecameramodel.cpp.o imagegeometry::PinholeCameraModel::rectifyPoint(cv::Point const&) const in pinholecameramodel.cpp.o imagegeometry::PinholeCameraModel::unrectifyPoint(cv::Point const&) const in pinholecameramodel.cpp.o imagegeometry::StereoCameraModel::projectDisparityImageTo3d(cv::Mat const&, cv::Mat&, bool) const in stereocameramodel.cpp.o "cv::OutputArray::OutputArray(cv::Mat&)", referenced from: imagegeometry::PinholeCameraModel::rectifyImage(cv::Mat const&, cv::Mat&, int) const in pinholecameramodel.cpp.o imagegeometry::PinholeCameraModel::initRectificationMaps() const in pinholecameramodel.cpp.o imagegeometry::PinholeCameraModel::rectifyPoint(cv::Point const&) const in pinholecameramodel.cpp.o imagegeometry::PinholeCameraModel::unrectifyPoint(cv::Point const&) const in pinholecameramodel.cpp.o imagegeometry::StereoCameraModel::projectDisparityImageTo3d(cv::Mat const&, cv::Mat&, bool) const in stereocameramodel.cpp.o "vtable for cv::InputArray", referenced from: imagegeometry::PinholeCameraModel::initRectificationMaps() const in pinholecameramodel.cpp.o imagegeometry::PinholeCameraModel::rectifyPoint(cv::Point const&) const in pinholecameramodel.cpp.o imagegeometry::PinholeCameraModel::unrectifyPoint(cv::Point const&) const in pinholecameramodel.cpp.o imagegeometry::StereoCameraModel::projectDisparityImageTo3d(cv::Mat const&, cv::Mat&, bool) const in stereocameramodel.cpp.o NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "vtable for cv::OutputArray", referenced from: imagegeometry::PinholeCameraModel::unrectifyPoint(cv::Point const&) const in pinholecameramodel.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 x8664 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/magictosha/roscatkinws/develisolated/imagegeometry/lib/libimagegeometry.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.

Asked by Antonnnn on 2016-05-10 11:44:44 UTC

Comments

Answers

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

Asked by jkp on 2016-06-10 12:31:05 UTC

Comments