catkin_make问题及解决

问题1. PermissionError: [Errno 13] Permission denied

解决方法:

sudo chmod 777 -R ~/ros_ws

问题2. Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR)

解决方法:

sudo apt-get install libsdl-dev

sudo apt-get install libsdl1.2-dev

问题3. Could NOT find SDL_image (missing: SDL_IMAGE_LIBRARIES

解决方法:

sudo apt-get install libsdl-image1.2-dev

问题4. Could not find a package configuration file provided by “serial” with any of the following names: serialConfig.cmake serial-config.cmake

sudo apt-get install ros-melodic-serial

其他还有些问题,不过基本上都是缺啥下啥。这个和要make的内容高度相关。

上一篇:ubuntu16.04运行Open VINS


下一篇:ROS安装usb摄像头