catkin_make install 报错 The manifest (with format version 2) must not contain the following tags: run

在学习ROS官方文档中,创建msg和srv,使用:

catkin_make install 遇到报错:

Error(s) in /home/combusion/catkin_ws/src/beginner_tutorials/package.xml:
- The manifest (with format version 2) must not contain the following tags: run_depend


这是说package.xml文件中,不能包含run_depend,打开package.xml,删掉对应行:

message_runtime

发现之前添加的一个重复行也一并删掉:

message_generation

解决。


你可能感兴趣的:(ROS学习)