Closed osrf-migration closed 7 years ago
Original comment by bahy aly (Bitbucket: bahyros).
Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero).
Without more details I would say that the problem could come from the lack of a -dev
gazebo package installed. The file needed by the find_package()
cmake command is supplied by, for example libgazebo7-dev
:
jrivero@nium ~ $ dpkg -L libgazebo7-dev | grep gazebo-config.cmake
/usr/lib/x86_64-linux-gnu/cmake/gazebo/gazebo-config.cmake
Original comment by bahy aly (Bitbucket: bahyros).
compilation terminated. make[2]: [ardupilot_sitl_gazebo_plugin/ardupilot_sitl_gazebo_plugin/CMakeFiles/ardupilot_sitl_gazebo_plugin.dir/src/apm_plugin_apm_side.cpp.o] Error 1 make[2]: [ardupilot_sitl_gazebo_plugin/ardupilot_sitl_gazebo_plugin/CMakeFiles/ardupilot_sitl_gazebo_plugin.dir/src/apm_plugin_ros_side.cpp.o] Error 1 make[2]: [ardupilot_sitl_gazebo_plugin/ardupilot_sitl_gazebo_plugin/CMakeFiles/ardupilot_sitl_gazebo_plugin.dir/src/apm_plugin_gazebo_side.cpp.o] Error 1 make[1]: [ardupilot_sitl_gazebo_plugin/ardupilot_sitl_gazebo_plugin/CMakeFiles/ardupilot_sitl_gazebo_plugin.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j4 -l4" failed
Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero).
Issue #74 was marked as a duplicate of this issue.
Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero).
Please do not change the assigned person or the status. It is ok to leave as it is now.
Original comment by Jose Luis Rivero (Bitbucket: Jose Luis Rivero, GitHub: j-rivero).
For the errors compiling ROS + Gazebo stuff please use the corresponding issue tracker or the questions/answers Gazebo site.
In any case please remember to include the following information: which version of Gazebo are you using, which version of ROS, which software are you trying to compile and the full log of the compilation error (your last comment is too short to know where is the error).
Thanks.
Original report (archived issue) by bahy aly (Bitbucket: bahyros).
CMake Error at ardupilot_sitl_gazebo_plugin/aruco_mark_plugin/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:
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/bahy/simulation/ros_catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/bahy/simulation/ros_catkin_ws/build/CMakeFiles/CMakeError.log". make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed