问题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的内容高度相关。