RethinkRobotics / sawyer_simulator

Gazebo Simulation interface for the Sawyer Robot
http://sdk.rethinkrobotics.com/intera/Gazebo_Tutorial
Apache License 2.0
50 stars 65 forks source link

Could not find package configuration file provided by "hardware_interface" #46

Open prasuchit opened 5 years ago

prasuchit commented 5 years ago

CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package): 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. Call Stack (most recent call first): sawyer_simulator/sawyer_hardware_interface/CMakeLists.txt:7 (find_package)

-- Could not find the required component 'hardware_interface'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found. CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): 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. Call Stack (most recent call first): sawyer_simulator/sawyer_hardware_interface/CMakeLists.txt:7 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/psuresh/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/psuresh/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed

danem commented 4 years ago

Try running

apt-get install ros-melodic-hardware-interface