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
本文介绍了在使用catkin_make编译过程中遇到的权限问题、找不到包问题,以及对应的解决方法,包括修改权限、安装缺失的ros包等。
订阅专栏 解锁全文
2496

被折叠的 条评论
为什么被折叠?



