CMake failed
Verbatim copy-paste:
CMake Error at Turtlebot_on_noetic/ecl_core/ecl_linear_algebra/CMakeLists.txt:22 (find_package):
By not providing "FindSophus.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Sophus", but
CMake did not find one.
Could not find a package configuration file provided by "Sophus" with any
of the following names:
SophusConfig.cmake
sophus-config.cmake
Add the installation prefix of "Sophus" to CMAKE_PREFIX_PATH or set
"Sophus_DIR" to a directory containing one of the above files. If "Sophus"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/home/ostrich/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ostrich/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:2000: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
Asked by Amzaar on 2023-06-02 15:35:17 UTC
Answers
If you build from source code, it is your responsibility to install any packages that the code relies on. Sometimes they are ros packages, and sometimes they are "system" packages. I see that apt
search has this:
$ apt search sophus
ros-noetic-sophus/focal 1.2.1-1focal.20200728.135441 amd64
C++ implementation of Lie Groups using Eigen.
There is also a ros tool named rosdep
that can help you install dependencies, but it is not always 100% successfull. Do a search on this site for how to use rosdep.
Asked by Mike Scheutzow on 2023-06-03 05:47:47 UTC
Comments