You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build and install SC-A-LOAM on Ubuntu 20.04 and ROS Noetic.
I had two main errors after I run catkin_make, Errors are as below:
fatal error: opencv/cv.h: No such file or directory 44 | #include <opencv/cv.h>
I solved this error by editing "scanRegistration.cpp" file, I write #include <opencv2/opencv.hpp> instead of #include <opencv/cv.h>
I also changed set(CMAKE_CXX_FLAGS "-std=c++14") instead of set(CMAKE_CXX_FLAGS "-std=c++11") in CMakeLists.txt
error: ‘CV_LOAD_IMAGE_GRAYSCALE’ was not declared in this scope 91 | cv::Mat left_image = cv::imread(left_image_path.str(), CV_LOAD_IMAGE_GRAYSCALE);
I couldn't manage to solve this issue, any idea about it?
The text was updated successfully, but these errors were encountered:
I'm trying to build and install SC-A-LOAM on Ubuntu 20.04 and ROS Noetic.
I had two main errors after I run catkin_make, Errors are as below:
I solved this error by editing "scanRegistration.cpp" file, I write #include <opencv2/opencv.hpp> instead of #include <opencv/cv.h>
I also changed set(CMAKE_CXX_FLAGS "-std=c++14") instead of set(CMAKE_CXX_FLAGS "-std=c++11") in CMakeLists.txt
I couldn't manage to solve this issue, any idea about it?
The text was updated successfully, but these errors were encountered: