Cannot locate rosdep definition for gz-transport12 and gz-math7 after building Gazebo from source.

asked 2023-07-30 13:13:35 -0500

nmw gravatar image

updated 2023-07-30 13:16:44 -0500

Hi, my question is similar to this. The difference is I am building Gazebo Garden from source, which I managed to do.

As in the other post, I encountered:

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
ros_gz_image: Cannot locate rosdep definition for [gz-transport12]
ros_gz_sim: Cannot locate rosdep definition for [gz-math7]
ros_gz_bridge: Cannot locate rosdep definition for [gz-transport12]
Continuing to install resolvable dependencies...

I understand gz-transport12 and gz-math7 are not available in packages.ros.org, but I built and installed them locally (there are libgz-transport12.so and libgz-math7.so as well as other files in /usr/local/bin). How do I solve the above error? I tried to change the order of installation (Gazebo first before ros_gz, ros_gz first, etc) and also used ROS_PACKAGE_PATH, but I still see the above error. (Or perhaps I did it wrongly.)

edit retag flag offensive close merge delete