Livox-SDK / livox_mapping

A mapping package for Livox LiDARs
Other
373 stars 113 forks source link

loam Livox #45

Open leobetancor opened 1 year ago

leobetancor commented 1 year ago

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 commented 1 year ago

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

ManChrys commented 1 year ago

hello @leobetancor ,

you didnt install ceres solver.

Follow the steps

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