ArduPilot / ardupilot_gazebo

Plugins and models for vehicle simulation in Gazebo Sim with ArduPilot SITL controllers
GNU Lesser General Public License v3.0
81 stars 76 forks source link

CMake error #61

Closed IAMHAADICOOL closed 1 year ago

IAMHAADICOOL commented 1 year ago

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

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

gz-cmake3Config.cmake
gz-cmake3-config.cmake

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

-- Configuring incomplete, errors occurred!

IAMHAADICOOL commented 1 year ago

How do I fix this?

srmainwaring commented 1 year ago

Hello @IAMHAADICOOL, it could be a number of things depending upon your OS and whether you install Gazebo from source or binaries.

srmainwaring commented 1 year ago

Closing as no further activity.