Skip to content

hardware_interface package not installed via rosdep #176

@gordon-dolphinlabs

Description

@gordon-dolphinlabs

After following the instructions on this page with a freshly installed operating system + ros2 humble desktop install, the attempt at the colcon build generates the following error:

--- stderr: ethercat_driver                                                                        
CMake Error at CMakeLists.txt:10 (find_package):
  By not providing "Findhardware_interface.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "hardware_interface", but CMake did not find one.

  Could not find a package configuration file provided by
  "hardware_interface" with any of the following names:

    hardware_interfaceConfig.cmake
    hardware_interface-config.cmake

  Add the installation prefix of "hardware_interface" to CMAKE_PREFIX_PATH or
  set "hardware_interface_DIR" to a directory containing one of the above
  files.  If "hardware_interface" provides a separate development package or
  SDK, be sure it has been installed.


---
Failed   <<< ethercat_driver [1.06s, exited with code 1]

Manually installing via sudo apt install ros-humble-hardware-interface resolves the error, but this issue is regarding updating the dependency install handling of the repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions