Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

CMake to find a package configuration file provided by "gazebo", but CMake did not find one. #54

Open
BestSuperUser opened this issue Apr 23, 2022 · 2 comments

Comments

@BestSuperUser
Copy link

Hi, I try build this plugin but I get this error after run sudo cmake ..
I use fedora35 so I cant run apt-get install libgazeboX-dev
what can I do for this problem ?

CMake Error at CMakeLists.txt:11 (find_package):
  By not providing "Findgazebo.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "gazebo", but
  CMake did not find one.

  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.
@acxz
Copy link
Contributor

acxz commented Aug 23, 2022

Maybe try a dnf search gazebo and see if fedora packages gazebo?

If not, you'll have to compile from source or switch to a distribution that supports gazebo like Arch or Debian based distros.

@pratikPhadte
Copy link

Try below

sudo apt install gazebo
sudo apt install libgazebo-dev

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants