ROS在catkin_make时候报错:make[2]...make[1]...make...Invoking "make -j1 -l1" failed如何解决?

ROS在catkin_make时候报错:make[2]...make[1]...make...Invoking "make -j1 -l1" failed如何解决?

我的系统版本:
Ubuntu 16.04
ROS kinetic
大家好,最近自学ROS的小白。我在学习一个编写的很好的日文版PDF教程,照着做,创建package,实现一个简单publisher和subscriber的节点通信小程序。由于教程是ROS indigo版本,而我的是kinetic,所以在改package.xml和CMakeList.txt、Cpp文件的时候很多语法是不一样的,比如indigo版本package.xml里面的:

message_runtime

在kinetic版本就是

message_runtime

还有一些CMakeList.txt中的add_executable()和add_dependencies()的逻辑层级(谁放上面)等等问题。。。
在全部按照语法意思和报错信息理解改好了之后,再次运行catkin_make的时候,我遇到以下错误,请问是怎么回事:

wyy24678@wyy24678-virtual-machine:~/catkin_ws$ catkin_make
Base path: /home/wyy24678/catkin_ws
Source space: /home/wyy24678/catkin_ws/src
Build space: /home/wyy24678/catkin_ws/build
Devel space: /home/wyy24678/catkin_ws/devel
Install space: /home/wyy24678/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/wyy24678/catkin_ws/build"
####
####
#### Running command: "make -j1 -l1" in "/home/wyy24678/catkin_ws/build"
####
[  0%] Built target _irvs_ros_tutorials_generate_messages_check_deps_msgTutorial
[  0%] Built target std_msgs_generate_messages_cpp
[  9%] Built target irvs_ros_tutorials_generate_messages_cpp
make[2]: *** No rule to make target 'irvs_ros_tutorials/CMakeFiles/ros_tutorial_msg_subscriber.dir/build'.  Stop.
CMakeFiles/Makefile2:442: recipe for target 'irvs_ros_tutorials/CMakeFiles/ros_tutorial_msg_subscriber.dir/all' failed
make[1]: *** [irvs_ros_tutorials/CMakeFiles/ros_tutorial_msg_subscriber.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j1 -l1" failed

截图如下:
ROS在catkin_make时候报错:make[2]...make[1]...make...Invoking

请问大概是什么问题呢?搜了很多资料没能解决。跪谢。还需要什么信息的话,我会继续提供!

你可能感兴趣的:(bug求助,ROS,catkin_make,error)