ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

hector_gazebo_plugin catkin_make error

asked 2023-05-13 13:56:26 -0600

keerthana gravatar image

I tried to build a ros package downloaded, and while building i get this error

CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "hector_gazebo_plugins" with any of the following names:

hector_gazebo_pluginsConfig.cmake
hector_gazebo_plugins-config.cmake

Add the installation prefix of "hector_gazebo_plugins" to CMAKE_PREFIX_PATH or set "hector_gazebo_plugins_DIR" to a directory containing one of the above files. If "hector_gazebo_plugins" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): smb_common/smb_description/CMakeLists.txt:4 (find_package)

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2023-05-16 02:22:16 -0600

The ros package you downloaded seems to have unmet dependencies on your system.

To download and install all the dependencies, use rosdep at the root of your workspace:

  1. Go to your workspace: cd your_ws
  2. Run rosdep install:

    rosdep install --from-paths src --ignore-src -r -y
    
  3. If the issue persists:

    sudo apt install ros-noetic-hector-gazebo-plugins
    
edit flag offensive delete link more

Question Tools

Stats

Asked: 2023-05-13 13:56:26 -0600

Seen: 405 times

Last updated: May 16 '23