Compile by cmake, missing gazeboConfig.cmake or gazebo-config.cmake

asked 2018-09-02 00:55:49 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi,

I use Gazebo 9, ROS melodic, ubuntu 18.08.

When I compile packages using catkin_make, I get cmake error:

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

gazeboConfig.cmake gazebo-config.cmake Add the installation prefix of "gazebo" to CMAKE_PREFIX_PATH or set "gazebo_DIR" to a directory containing one of the above files. If "gazebo" provides a separate development package or SDK, be sure it has been installed.

I have installed libgazebo9-dev, but I still dont have these .cmake files. Could you help me?

edit retag flag offensive close merge delete

Comments

Please post your Cmakelist. Usually the problem is there.

wentz gravatar imagewentz ( 2018-09-06 09:52:17 -0500 )edit