CMake Error at /opt/ros/melodic/share/cv_bridge/cmake/cv_bridgeConfig.cmake:113 (message):
Project 'cv_bridge' specifies '/usr/include/opencv' as an include dir,
which is not found. It does neither exist as an absolute directory nor in
'${{prefix}}//usr/include/opencv'. Check the issue tracker
'https://github.com/ros-perception/vision_opencv/issues' and consider
creating a ticket if the problem has not been reported yet.
Call Stack (most recent call first):
/opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
A-LOAM/CMakeLists.txt:8 (find_package)
/opt/ros/melodic/share/cv_bridge/cmake/cv_bridgeConfig.cmake的113行定义的Opencv的include dir是/usr/include/opencv但是我的openc在/usr/local/include/opencv/
改了这句话就好了
set(_include_dirs "include;/usr/include;/usr/local/include/opencv")
#set(_include_dirs "include;/usr/include;/usr/include/opencv")