Gazebo installation failed due to .cmake files not found

asked 2019-10-29 19:26:30 -0600

bonie gravatar image

Hello,

I've been trying to install gazebo 7 but I keep getting the following error:

(env) felipevaldez@superdesktop:~/neuroflightctrl/gymfc/gymfc/envs/assets/gazebo/plugins$ ./build_plugin.sh -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:4 (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.

-- Configuring incomplete, errors occurred! See also "/home/felipevaldez/neuroflightctrl/gymfc/gymfc/envs/assets/gazebo/plugins/build/CMakeFiles/CMakeOutput.log". make: * No targets specified and no makefile found. Stop.

It seems like it cannot find the files: gazeboConfig.cmake and gazebo-config.cmake. Any help would be greatly appreciate it! Thanks.

edit retag flag offensive close merge delete