Error in vision_opencv/image_geometry/src/pinhole_camera_model.cpp [closed]

asked 2012-09-16 07:03:06 -0500

Flowers gravatar image

Hey guys,

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

/root/ros/vision_opencv/image_geometry/src/pinhole_camera_model.cpp: In member function ‘cv::Point2d image_geometry::PinholeCameraModel::unrectifyPoint(const cv::Point2d&) const’:
/root/ros/vision_opencv/image_geometry/src/pinhole_camera_model.cpp:347:88: error: no matching function for call to ‘projectPoints(std::vector<cv::point3_<double>

, cv::Mat&, cv::Mat&, const cv::Mat_<double>&, const cv::Mat_<double>&, std::vector<cv::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::vector<cv::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::vector<cv::point_<float> >&, cv::Mat&, cv::Mat&, cv::Mat&, cv::Mat&, cv::Mat&, double) make[3]: * [CMakeFiles/image_geometry.dir/src/pinhole_camera_model.o] Error 1 make[3]: Leaving directory /root/ros/vision_opencv/image_geometry/build' make[2]: *** [CMakeFiles/image_geometry.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/vision_opencv/image_geometry/build'

Any ideas

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-04-23 03:25:16.465986