Upgrading from Galactic to Humble
Hi all, I am trying to upgrade my ROS2 project from Galactic to Humble. Unfortunately, due to the size of the project I am facing an immense number of errors, most of them related to missing dependencies such as
/opt/ros/humble/include/rclcpp/rclcpp/qos_overriding_options.hpp:28:10: fatal error: rcl_interfaces/msg/set_parameters_result.hpp: No such file or directory
This is usually solved by adding some lines to the CMakeList file (which means the errors is probably valid) such as -
find_package(rcl_interfaces REQUIRED)
${rcl_interfaces_INCLUDE_DIRS}
What I failed to understand is why everything worked just find with Galactic, while Humble keeps popping those missing header errors. They should have been missing with Galactic, too. Am I doing something wrong?
Thanks!
Can you please tell a bit more about the problem? For example, where did you edit and put
find_package
code?Hi @ravijoshi, I added the find_packages in the CMakeLists.txt related to the custom package I created. I am just not sure why weren't they needed when I was using ROS2 galactic.
I think some example files are in order
Hi Steve, What example files would you like me to post?