Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loam Livox #45

Open
leobetancor opened this issue Dec 16, 2022 · 2 comments
Open

loam Livox #45

leobetancor opened this issue Dec 16, 2022 · 2 comments

Comments

@leobetancor
Copy link

Hi guys,

Im tying to compile loam Livox with catkin and im getting the following error. I installed Eigen and OpenCV btw.

-- Using CATKIN_DEVEL_PREFIX: /home/leo/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/leo/catkin_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/leo/catkin_ws/devel;/opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/leo/catkin_ws/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 2 packages in topological order:
-- ~~ - loam_livox
-- ~~ - livox_ros_driver
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'loam_livox'
-- ==> add_subdirectory(loam_livox)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at loam_livox/CMakeLists.txt:23 (find_package):
By not providing "FindCeres.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Ceres", but
CMake did not find one.

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

CeresConfig.cmake
ceres-config.cmake

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

-- Configuring incomplete, errors occurred!
See also "/home/leo/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/leo/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:1608: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

-- Using CATKIN_DEVEL_PREFIX: /home/leo/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/leo/catkin_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/leo/catkin_ws/devel;/opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/leo/catkin_ws/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 2 packages in topological order:
-- ~~ - loam_livox
-- ~~ - livox_ros_driver
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'loam_livox'
-- ==> add_subdirectory(loam_livox)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at loam_livox/CMakeLists.txt:23 (find_package):
By not providing "FindCeres.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Ceres", but
CMake did not find one.

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

CeresConfig.cmake
ceres-config.cmake

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

-- Configuring incomplete, errors occurred!
See also "/home/leo/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/leo/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:1608: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

@xchwu
Copy link

xchwu commented Dec 20, 2022

this project has asked CMake to find a package configuration file provided by "Ceres", but CMake did not find one.

@ManChrys
Copy link

hello @leobetancor ,

you didnt install ceres solver.

Follow the steps

http://ceres-solver.org/installation.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants