Robotics StackExchange | Archived questions

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

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 rosgz, rosgz first, etc) and also used ROS_PACKAGE_PATH, but I still see the above error. (Or perhaps I did it wrongly.)

Asked by nmw on 2023-07-30 13:13:35 UTC

Comments

Answers