No rule to make target

asked 2019-07-25 16:06:39 -0500

yassine gravatar image

updated 2019-07-26 01:11:11 -0500

mgruhler gravatar image

Hi, I'm new at using ROS and I'm trying the tutorial "Writing and Using a Simple Plugin". I followed all the steps indicated but when I run "catkin_make" I get the error :

make[2]: *** No rule to make target '/home/ahmed/catkin_ws/src/pluginlib_tutorials/src/polygon_plugins.cpp', needed by 'pluginlib_tutorials/CMakeFiles/polygon_plugins.dir/src/polygon_plugins.cpp.o'.  Stop.
CMakeFiles/Makefile2:523: recipe for target 'pluginlib_tutorials/CMakeFiles/polygon_plugins.dir/all' failed
make[1]: *** [pluginlib_tutorials/CMakeFiles/polygon_plugins.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

Can anyone help please Thank you

edit retag flag offensive close merge delete


please post the full error output and format it using the preformatted text button (1010101).

mgruhler gravatar image mgruhler  ( 2019-07-26 01:10:56 -0500 )edit