Closed AxelCORNILLEAU closed 1 year ago
catkin_ws/src/cam_lidar_calibration/include/cam_lidar_calibration/optimiser.h:10:10: fatal error: opencv/cv.hpp: No such file or directory 10 | #include <opencv/cv.hpp> | ^~~~~~~ compilation terminated.
Solution : in optimiser .h just change line 10
// #include <opencv/cv.hpp> #include <opencv2/opencv.hpp>
and in optimiser.cpp change line 427 : cv::reduce(trans_diff, summed_diff, 1, cv::REDUCE_SUM, CV_64F);
cv::reduce(trans_diff, summed_diff, 1, cv::REDUCE_SUM, CV_64F);
catkin_ws/src/cam_lidar_calibration/include/cam_lidar_calibration/optimiser.h:10:10: fatal error: opencv/cv.hpp: No such file or directory 10 | #include <opencv/cv.hpp> | ^
~~~~~~ compilation terminated.Solution : in optimiser .h just change line 10
and in optimiser.cpp change line 427 :
cv::reduce(trans_diff, summed_diff, 1, cv::REDUCE_SUM, CV_64F);