Livox-SDK / livox_mapping

A mapping package for Livox LiDARs
Other
389 stars 114 forks source link

Problem installation livox mapping #46

Closed musantea closed 1 year ago

musantea commented 1 year ago

this is the message that appears when I run the build with the catkin_make command. Is there a solution? Thank you

tino@tino-HP-255-G8-Notebook-PC:~/catkin_ws$ catkin_make Base path: /home/tino/catkin_ws Source space: /home/tino/catkin_ws/src Build space: /home/tino/catkin_ws/build Devel space: /home/tino/catkin_ws/devel Install space: /home/tino/catkin_ws/install Creating symlink "/home/tino/catkin_ws/src/CMakeLists.txt" pointing to "/opt/ros/noetic/share/catkin/cmake/toplevel.cmake"

Running command: "cmake /home/tino/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/tino/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/tino/catkin_ws/install -G Unix Makefiles" in "/home/tino/catkin_ws/build"

-- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is GNU 9.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Using CATKIN_DEVEL_PREFIX: /home/tino/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/noetic -- This workspace overlays: /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 -- Found PY_em: /usr/lib/python3/dist-packages/em.py
-- Using empy: /usr/lib/python3/dist-packages/em.py -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/tino/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") -- Found Threads: TRUE
-- Using Python nosetests: /usr/bin/nosetests3 -- catkin 0.8.10 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - livox_mapping -- ~~~~~~~~~~~~~ -- +++ processing catkin package: 'livox_mapping' -- ==> add_subdirectory(livox_mapping) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Could NOT find livox_ros_driver (missing: livox_ros_driver_DIR) -- Could not find the required component 'livox_ros_driver'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found. CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "livox_ros_driver" with any of the following names:

livox_ros_driverConfig.cmake
livox_ros_driver-config.cmake

Add the installation prefix of "livox_ros_driver" to CMAKE_PREFIX_PATH or set "livox_ros_driver_DIR" to a directory containing one of the above files. If "livox_ros_driver" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): livox_mapping/CMakeLists.txt:16 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/tino/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/tino/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed tino@tino-HP-255-G8-Notebook-PC:~/catkin_ws$

musantea commented 1 year ago

Resolved