catkin_make编译出错

先删除catkin_ws下的build和devel,删除src/bebop_display
先尝试再执行两次 catkin_make 命令,看能否解决。

catkin_make编译出错

Makefile:138: recipe for target ‘all’ failed

Makefile:138: recipe for target ‘all’ failed make: *** [all] Error 2
Invoking “make -j8 -l8” failed

解决方法:

// A code block username@username:~/catkin_ws/src$ sudo chown -R username /home/username/catkin_ws/
[sudo] username 的密码:
username@username:~/catkin_ws/src$ sudo chmod -R +x /home/username/catkin_ws/

替换username为自己电脑的用户名即可,后面为catkin_ws的路径。

猜你喜欢

转载自blog.csdn.net/weixin_46353422/article/details/109102038
今日推荐