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

I have a question about setup LeGO-LOAM

asked 2022-04-24 23:43:17 -0600

Meerkat25 gravatar image

updated 2022-04-25 16:26:49 -0600

when building the source, running catkin_make produces the following error. what is the solution?

Ubuntu 18.04 Melodic https://jdh1005a.tistory.com/22

xaviernx@xaviernx-desktop:~/catkin_ws$ catkin_make
Base path: /home/xaviernx/catkin_ws
Source space: /home/xaviernx/catkin_ws/src
Build space: /home/xaviernx/catkin_ws/build
Devel space: /home/xaviernx/catkin_ws/devel
Install space: /home/xaviernx/catkin_ws/install
####
#### Running command: "cmake /home/xaviernx/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/xaviernx/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/xaviernx/catkin_ws/install -G Unix Makefiles" in "/home/xaviernx/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/xaviernx/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/melodic
-- This workspace overlays: /opt/ros/melodic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/xaviernx/catkin_ws/build/test_results
-- 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/python2 (found version "2.7.17") 
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.29
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 9 packages in topological order:
-- ~~  - cloud_msgs
-- ~~  - velodyne (metapackage)
-- ~~  - velodyne_msgs
-- ~~  - loam_velodyne
-- ~~  - lego_loam
-- ~~  - velodyne_driver
-- ~~  - velodyne_laserscan
-- ~~  - velodyne_pcl
-- ~~  - velodyne_pointcloud
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'cloud_msgs'
-- ==> add_subdirectory(LeGO-LOAM/cloud_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- cloud_msgs: 1 messages, 0 services
-- +++ processing catkin metapackage: 'velodyne'
-- ==> add_subdirectory(velodyne/velodyne)
-- +++ processing catkin package: 'velodyne_msgs'
-- ==> add_subdirectory(velodyne/velodyne_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- velodyne_msgs: 2 messages, 0 services
-- +++ processing catkin package: 'loam_velodyne'
-- ==> add_subdirectory(loam_velodyne)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   date_time
--   iostreams
--   serialization
--   chrono
--   atomic
--   regex
-- Could NOT find ensenso (missing: ENSENSO_LIBRARY ENSENSO_INCLUDE_DIR) 
** WARNING ** io features related to ensenso will be disabled
-- Could NOT find DAVIDSDK (missing: DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR) 
** WARNING ** io features related to davidSDK will be disabled
-- Could NOT find DSSDK (missing: _DSSDK_LIBRARIES) 
** WARNING ** io features related to dssdk will be disabled
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
-- The imported target "vtkRenderingPythonTkWidgets" references the file
   "/usr/lib/aarch64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
but not all the files it references.

-- The imported target "vtk" references the file
   "/usr/bin/vtk"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
but not all the files it references.

** WARNING ** io features related to libusb-1.0 will be disabled
-- Could NOT find ensenso (missing: ENSENSO_LIBRARY ENSENSO_INCLUDE_DIR) 
** WARNING ** visualization features related to ensenso ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-04-26 03:08:42 -0600

Joe28965 gravatar image

It can't find opencv on your system, either it's not installed or installed somewhere else. Have you installed opencv?

It could be that you've installed a different version of opencv (when I check the path /usr/include/opencv on my pc I find usr/include/opencv4 for instance). If that's the case you'll need to update the CMake file to build against the version of opencv you've got installed.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2022-04-24 23:43:17 -0600

Seen: 418 times

Last updated: Apr 26 '22