Robotics StackExchange | Archived questions

hector_gazebo_plugin catkin_make error

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 (findpackage): Could not find a package configuration file provided by "hectorgazebo_plugins" with any of the following names:

hector_gazebo_pluginsConfig.cmake
hector_gazebo_plugins-config.cmake

Add the installation prefix of "hectorgazeboplugins" to CMAKEPREFIXPATH or set "hectorgazebopluginsDIR" to a directory containing one of the above files. If "hectorgazeboplugins" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): smbcommon/smbdescription/CMakeLists.txt:4 (findpackage)

Asked by keerthana on 2023-05-13 13:56:26 UTC

Comments

Answers

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
    

Asked by Gaurav Gupta on 2023-05-16 02:22:16 UTC

Comments