I am trying to compile multiple packages in ros2 humble. I am trying to compile the ackerman messages package as well as the franka ros2 meta-package (more specifically, the franka_msgs package). I see that there are custom messages and services involved. I followed the instructions to build the franka package. I also simply cloned the ackerman package into my ros 2 workspace like any other package. Both return this same error:

--- stderr: ackermann_msgs                                                                                                                                                                            
gmake[1]: *** No rule to make target 'ackermann_msgs__py/CMakeFiles/ackermann_msgs__py.dir/all', needed by 'CMakeFiles/ackermann_msgs__rosidl_generator_py.dir/all'.  Stop.
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [Makefile:146: all] Error 2

I looked in the cmake files and they both appear to create messages correctly. I saw that there were changes recently from Foxy to Humble, but I don't see how they are major breaking changes. It may be that I simply don't understand how to compile messages in Humble. How do you compile custom messages and services (and actions too) in ROS2 Humble? Here are some resources I have referenced:



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.