Catkin_Make issue

In chapter 2 of the ROS Autonomous Vehicle course we have to make the vehicle move through waypoints. So I began creating a new package for my code, executed catkin_make and I got the following error:

Invoking “make -j36 -l36” failed

I removed my package, incase the issue is my code executed catkin_make again but I still got the same error.

Can someone help me resolve this, please ?

Hi @adeoduye,

Welcome to the Community!

Could you please paste here the whole text of the error? The error message most times gives you a hint of what is wrong.

I encounted the same problem, in 5 days for ROS (C++). When I created a package and use catkin_make, it shows:

user:~/catkin_ws$ catkin_make
Base path: /home/user/catkin_ws
Source space: /home/user/catkin_ws/src
Build space: /home/user/catkin_ws/build
Devel space: /home/user/catkin_ws/devel
Install space: /home/user/catkin_ws/install

Running command: “make cmake_check_build_system” in “/home/user/catkin_ws/build”

Running command: “make -j36 -l36” in “/home/user/catkin_ws/build”

[ 0%] Built target std_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_eus
[ 0%] Built target roscpp_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_nodejs
[ 0%] Built target roscpp_generate_messages_nodejs
[ 0%] Built target rosgraph_msgs_generate_messages_lisp
[ 0%] Built target rosgraph_msgs_generate_messages_py
[ 0%] Built target roscpp_generate_messages_eus
[ 0%] Built target std_msgs_generate_messages_cpp
[ 0%] Built target rosgraph_msgs_generate_messages_cpp
[ 0%] Built target roscpp_generate_messages_cpp
[ 0%] Built target rosgraph_msgs_generate_messages_nodejs
[ 0%] Built target rosgraph_msgs_generate_messages_eus
[ 0%] Built target roscpp_generate_messages_py
[ 0%] Built target std_msgs_generate_messages_py
make[2]: *** No rule to make target ‘my_package/CMakeFiles/simple.dir/build’. Stop.
CMakeFiles/Makefile2:921: recipe for target ‘my_package/CMakeFiles/simple.dir/all’ failed
make[1]: *** [my_package/CMakeFiles/simple.dir/all] Error 2
Makefile:138: recipe for target ‘all’ failed
make: *** [all] Error 2
Invoking “make -j36 -l36” failed