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

Hi , i have a problem with my catkin workspace. When I try to catkin_make I keep getting this error.

asked 2020-06-08 04:42:02 -0500

Giri gravatar image

updated 2020-06-08 12:25:46 -0500

gvdhoorn gravatar image

Straight dump of the error:

CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by "gaebo_ros" with
  any of the following names:

    gaebo_rosConfig.cmake
    gaebo_ros-config.cmake

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


-- Could not find the required component 'gaebo_ros'. 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 "gaebo_ros" with
  any of the following names:

    gaebo_rosConfig.cmake
    gaebo_ros-config.cmake

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


-- Configuring incomplete, errors occurred!
See also "/home/user/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:2684: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-06-08 16:24:45 -0500

Thomas D gravatar image

You seem to be depending on a package (in package.xml and CMakeLists.txt) that is not being found. We don't have a lot of information, but my first guess would be that you have a typo. In the two files I mentioned try changing gaebo_ros to gazebo_ros (the z is missing).

If that doesn't fix it, it would be helpful to see a minimal package.xml and CMakeLists.txt from your package, and any information or commands or tutorials you followed about how you are trying to build your package. Pretty much anything leading up to the error message you are seeing.

edit flag offensive delete link more

Comments

Which package.xml and CMakeList.txt file should be modified? The one in the workspace or in /opt/ros/kinetic/catkin/cmake?

Giri gravatar image Giri  ( 2020-06-09 03:14:47 -0500 )edit

Those files should be modified in your mybot_gazebo package.

Thomas D gravatar image Thomas D  ( 2020-06-09 10:03:37 -0500 )edit

Yes it really worked ..Thank you so much

Giri gravatar image Giri  ( 2020-06-10 17:44:58 -0500 )edit

Question Tools

Stats

Asked: 2020-06-08 04:42:02 -0500

Seen: 348 times

Last updated: Jun 08 '20