Robotics StackExchange | Archived questions

Error in vision_opencv/image_geometry/src/pinhole_camera_model.cpp

Hey guys,

I tried to compile vision_opencv on a Fedora 14 system and it fails with the following error:

/root/ros/visionopencv/imagegeometry/src/pinholecameramodel.cpp: In member function ‘cv::Point2d imagegeometry::PinholeCameraModel::unrectifyPoint(const cv::Point2d&) const’:
/root/ros/vision
opencv/imagegeometry/src/pinholecameramodel.cpp:347:88: error: no matching function for call to ‘projectPoints(std::vector<cv::Point3

, cv::Mat&, cv::Mat&, const cv::Mat&, const cv::Mat&, std::vectorcv::Point_<double >&)’
/usr/include/opencv2/calib3d/calib3d.hpp:498:7: note: candidates are: void cv::projectPoints(const cv::Mat&, const cv::Mat&, const cv::Mat&, const cv::Mat&, const cv::Mat&, std::vectorcv::Point_<float >&)
/usr/include/opencv2/calib3d/calib3d.hpp:505:7: note: void cv::projectPoints(const cv::Mat&, const cv::Mat&, const cv::Mat&, const cv::Mat&, const cv::Mat&, std::vectorcv::Point_<float >&, cv::Mat&, cv::Mat&, cv::Mat&, cv::Mat&, cv::Mat&, double) make[3]: *** [CMakeFiles/imagegeometry.dir/src/pinholecameramodel.o] Error 1 make[3]: Leaving directory `/root/ros/visionopencv/imagegeometry/build' make[2]: *** [CMakeFiles/imagegeometry.dir/all] Error 2 make[2]: Leaving directory /root/ros/vision_opencv/image_geometry/build' make[1]: *** [all] Error 2 make[1]: Leaving directory /root/ros/visionopencv/imagegeometry/build'

Any ideas

Asked by Flowers on 2012-09-16 07:03:06 UTC

Comments

Answers