1.权限问题
报错:
Makefile:138: recipe for target ‘all’ failed
Makefile:138: recipe for target ‘all’ failed make: *** [all] Error 2
Invoking “make -j8 -l8” failed
解决方法:
username@username:~/工程包名/src$ sudo chmod -R +x /home/username/工程包名/
替换username为自己虚拟机的用户名即可。
2.catkin_make编译出错:找不到包
cv_bridgeConfig.cmake
cv_bridge-config.cmake
安装对应ros版本的cv-bridge包:$ sudo apt-get install ros-kinetic-cv-bridge
3.报错:
Could not find the required component 'geographic_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so