ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

CMake failed

asked 2023-06-02 15:35:17 -0500

Amzaar gravatar image

updated 2023-06-03 05:56:16 -0500

Mike Scheutzow gravatar image

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
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-06-03 05:47:47 -0500

Mike Scheutzow gravatar image

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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2023-06-02 15:35:17 -0500

Seen: 289 times

Last updated: Jun 03 '23