Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openCV issue with new cv version #41

Closed
AxelCORNILLEAU opened this issue Jul 11, 2023 · 0 comments
Closed

openCV issue with new cv version #41

AxelCORNILLEAU opened this issue Jul 11, 2023 · 0 comments

Comments

@AxelCORNILLEAU
Copy link

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants