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)
ROS-Academy-for-Beginners/dependlib/hector_slam/hector_compressed_map_transport/CMakeLists.txt:7 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/jetbot/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/jetbot/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
因为nvidia新img将opencv文件名字改为了opencv4
所以修改文件位置名字就行
sudo gedit /opt/ros/melodic/share/cv_bridge/cmake/cv_bridgeConfig.cmake
CMake Error at ros_deep_learning/CMakeLists.txt:6 (find_package):
By not providing "Findjetson-utils.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"jetson-utils", but CMake did not find one.
Could not find a package configuration file provided by "jetson-utils" with
any of the following names:
jetson-utilsConfig.cmake
jetson-utils-config.cmake
Add the installation prefix of "jetson-utils" to CMAKE_PREFIX_PATH or set
"jetson-utils_DIR" to a directory containing one of the above files. If
"jetson-utils" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/jetbot/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/jetbot/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:320: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
声明:
本文采用
BY-NC-SA
协议进行授权,如无注明均为原创,转载请注明转自
走着的小站
本文地址: jetson nano 编译ros_deep_learning
本文地址: jetson nano 编译ros_deep_learning