Ubuntu 1804 编译realsense-ros包报错
测试环境
Ubuntu 1804 + ROS Melodic + jetson NX 开发板
错误提示
编译realsense-ros包报错
Ubuntu 1804 + ROS Melodic + jetson NX 开发板
错误提示
编译realsense-ros包报错
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)
realsense-ros/realsense2_camera/CMakeLists.txt:8 (find_package)
2 个回复
lalala
赞同来自:
移动到96行将下面语句
set(_include_dirs "include;/usr/include;/usr/include/opencv")
修改为
set(_include_dirs "include;/usr/include;/usr/include/opencv4")
参考资料
https://github.com/ros-perception/vision_opencv/issues/345
lalala
赞同来自: