introlab / rtabmap_ros

RTAB-Map's ROS package.
http://wiki.ros.org/rtabmap_ros
BSD 3-Clause "New" or "Revised" License
1.02k stars 560 forks source link

CMake Warning: Cannot generate a safe runtime search path for target _ #131

Closed jacksonkr closed 8 years ago

jacksonkr commented 8 years ago

os: ubuntu 14.04.5 x86_64 kernel: 4.4.0-46-generic rtabmap-ros: 0.11.8-56-gea85929 rtabmap: 0.11.8 opencv: 2.4.8 [without nonfree] pcl: 1.7.1 +freenect +stereo1394 +octomap

It's building and running fine but I'm getting some crazy warnings. Can these be ignored?

$ catkin_make
Base path: /home/jackson/catkin_ws
Source space: /home/jackson/catkin_ws/src
Build space: /home/jackson/catkin_ws/build
Devel space: /home/jackson/catkin_ws/devel
Install space: /home/jackson/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/jackson/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/jackson/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/jackson/catkin_ws/devel;/opt/ros/indigo
-- This workspace overlays: /home/jackson/catkin_ws/devel;/opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/jackson/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.18
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 1 packages in topological order:
-- ~~  - rtabmap_ros
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'rtabmap_ros'
-- ==> add_subdirectory(rtabmap_ros)
-- Using these message generators: gencpp;genlisp;genpy
-- rtabmap_ros: 12 messages, 6 services
-- WITH costmap_2d
-- WITH octomap
-- WITH rviz
-- Configuring done
CMake Warning at rtabmap_ros/CMakeLists.txt:296 (add_executable):
  Cannot generate a safe runtime search path for target camera because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libopencv_videostab.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_video.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_superres.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_stitching.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_photo.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ocl.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_objdetect.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ml.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_legacy.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_imgproc.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_highgui.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_gpu.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_flann.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_features2d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_core.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_contrib.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_calib3d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at rtabmap_ros/CMakeLists.txt:313 (add_executable):
  Cannot generate a safe runtime search path for target data_player because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libopencv_videostab.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_video.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_superres.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_stitching.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_photo.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ocl.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_objdetect.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ml.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_legacy.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_imgproc.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_highgui.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_gpu.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_flann.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_features2d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_core.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_contrib.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_calib3d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at rtabmap_ros/CMakeLists.txt:287 (add_executable):
  Cannot generate a safe runtime search path for target icp_odometry because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libopencv_videostab.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_video.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_superres.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_stitching.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_photo.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ocl.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_objdetect.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ml.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_legacy.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_imgproc.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_highgui.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_gpu.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_flann.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_features2d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_core.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_contrib.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_calib3d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at rtabmap_ros/CMakeLists.txt:293 (add_executable):
  Cannot generate a safe runtime search path for target map_assembler because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libopencv_videostab.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_video.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_superres.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_stitching.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_photo.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ocl.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_objdetect.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ml.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_legacy.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_imgproc.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_highgui.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_gpu.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_flann.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_features2d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_core.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_contrib.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_calib3d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at rtabmap_ros/CMakeLists.txt:290 (add_executable):
  Cannot generate a safe runtime search path for target map_optimizer because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libopencv_videostab.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_video.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_superres.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_stitching.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_photo.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ocl.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_objdetect.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ml.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_legacy.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_imgproc.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_highgui.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_gpu.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_flann.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_features2d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_core.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_contrib.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_calib3d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at rtabmap_ros/CMakeLists.txt:316 (add_executable):
  Cannot generate a safe runtime search path for target odom_msg_to_tf
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libopencv_videostab.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_video.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_superres.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_stitching.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_photo.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ocl.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_objdetect.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ml.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_legacy.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_imgproc.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_highgui.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_gpu.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_flann.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_features2d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_core.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_contrib.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_calib3d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at rtabmap_ros/CMakeLists.txt:278 (add_executable):
  Cannot generate a safe runtime search path for target rgbd_odometry because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libopencv_videostab.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_video.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_superres.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_stitching.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_photo.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ocl.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_objdetect.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ml.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_legacy.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_imgproc.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_highgui.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_gpu.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_flann.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_features2d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_core.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_contrib.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_calib3d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at rtabmap_ros/CMakeLists.txt:284 (add_executable):
  Cannot generate a safe runtime search path for target rgbdicp_odometry
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libopencv_videostab.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_video.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_superres.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_stitching.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_photo.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ocl.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_objdetect.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ml.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_legacy.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_imgproc.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_highgui.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_gpu.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_flann.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_features2d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_core.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_contrib.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_calib3d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at rtabmap_ros/CMakeLists.txt:275 (add_executable):
  Cannot generate a safe runtime search path for target rtabmap because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libopencv_videostab.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_video.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_superres.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_stitching.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_photo.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ocl.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_objdetect.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ml.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_legacy.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_imgproc.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_highgui.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_gpu.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_flann.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_features2d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_core.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_contrib.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_calib3d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at rtabmap_ros/CMakeLists.txt:262 (add_library):
  Cannot generate a safe runtime search path for target rtabmap_ros because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libopencv_videostab.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_video.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_superres.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_stitching.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_photo.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ocl.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_objdetect.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ml.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_legacy.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_imgproc.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_highgui.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_gpu.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_flann.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_features2d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_core.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_contrib.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_calib3d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at rtabmap_ros/CMakeLists.txt:304 (add_executable):
  Cannot generate a safe runtime search path for target rtabmapviz because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libopencv_videostab.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_video.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_superres.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_stitching.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_photo.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ocl.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_objdetect.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ml.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_legacy.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_imgproc.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_highgui.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_gpu.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_flann.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_features2d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_core.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_contrib.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_calib3d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at rtabmap_ros/CMakeLists.txt:300 (add_executable):
  Cannot generate a safe runtime search path for target stereo_camera because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libopencv_videostab.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_video.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_superres.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_stitching.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_photo.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ocl.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_objdetect.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ml.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_legacy.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_imgproc.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_highgui.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_gpu.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_flann.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_features2d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_core.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_contrib.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_calib3d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at rtabmap_ros/CMakeLists.txt:281 (add_executable):
  Cannot generate a safe runtime search path for target stereo_odometry
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libopencv_videostab.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_video.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_superres.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_stitching.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_photo.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ocl.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_objdetect.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_ml.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_legacy.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_imgproc.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_highgui.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_gpu.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_flann.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_features2d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_core.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_contrib.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
    runtime library [libopencv_calib3d.so.2.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

-- Generating done
-- Build files have been written to: /home/jackson/catkin_ws/build
####
#### Running command: "make -j8 -l8" in "/home/jackson/catkin_ws/build"
####
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_OdomInfo
Scanning dependencies of target sensor_msgs_generate_messages_cpp
Scanning dependencies of target std_msgs_generate_messages_cpp
Scanning dependencies of target geometry_msgs_generate_messages_cpp
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_Goal
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_Link
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_NodeData
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_Point3f
[  0%] [  0%] Built target geometry_msgs_generate_messages_cpp
[  0%] Built target sensor_msgs_generate_messages_cpp
Built target std_msgs_generate_messages_cpp
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_Point2f
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_MapData
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_SetLabel
[  0%] [  0%] Built target _rtabmap_ros_generate_messages_check_deps_Link
Built target _rtabmap_ros_generate_messages_check_deps_NodeData
[  0%] [  0%] Built target _rtabmap_ros_generate_messages_check_deps_OdomInfo
Built target _rtabmap_ros_generate_messages_check_deps_Goal
[  0%] Built target _rtabmap_ros_generate_messages_check_deps_Point3f
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_ListLabels
[  0%] Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_PublishMap
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_KeyPoint
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_Info
Built target _rtabmap_ros_generate_messages_check_deps_MapData
[  0%] Built target _rtabmap_ros_generate_messages_check_deps_Point2f
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_SetGoal
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_RGBDImage
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_ResetPose
[  0%] Built target _rtabmap_ros_generate_messages_check_deps_SetLabel
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_GetMap
[  0%] Built target _rtabmap_ros_generate_messages_check_deps_PublishMap
[  0%] [  0%] Built target _rtabmap_ros_generate_messages_check_deps_ListLabels
Built target _rtabmap_ros_generate_messages_check_deps_KeyPoint
[  0%] Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_UserData
Built target _rtabmap_ros_generate_messages_check_deps_Info
Scanning dependencies of target _rtabmap_ros_generate_messages_check_deps_MapGraph
Scanning dependencies of target rtabmap_ros_gencfg
Scanning dependencies of target geometry_msgs_generate_messages_lisp
[  0%] [  1%] Built target _rtabmap_ros_generate_messages_check_deps_RGBDImage
[  1%] [  1%] Built target _rtabmap_ros_generate_messages_check_deps_SetGoal
Built target _rtabmap_ros_generate_messages_check_deps_ResetPose
Generating dynamic reconfigure files from cfg/Camera.cfg: /home/jackson/catkin_ws/devel/include/rtabmap_ros/CameraConfig.h /home/jackson/catkin_ws/devel/lib/python2.7/dist-packages/rtabmap_ros/cfg/CameraConfig.py
[  1%] Built target geometry_msgs_generate_messages_lisp
Scanning dependencies of target std_msgs_generate_messages_lisp
Scanning dependencies of target sensor_msgs_generate_messages_lisp
Scanning dependencies of target sensor_msgs_generate_messages_py
Scanning dependencies of target geometry_msgs_generate_messages_py
[  1%] [  1%] [  1%] Built target std_msgs_generate_messages_lisp
Built target sensor_msgs_generate_messages_py
Built target _rtabmap_ros_generate_messages_check_deps_GetMap
[  1%] [  1%] Built target sensor_msgs_generate_messages_lisp
Built target geometry_msgs_generate_messages_py
Scanning dependencies of target std_msgs_generate_messages_py
[  1%] [  1%] Built target _rtabmap_ros_generate_messages_check_deps_UserData
Built target _rtabmap_ros_generate_messages_check_deps_MapGraph
Scanning dependencies of target icp_odometry
Scanning dependencies of target rgbd_odometry
Scanning dependencies of target rgbdicp_odometry
[  1%] Scanning dependencies of target rtabmap_ros_generate_messages_cpp
Built target std_msgs_generate_messages_py
Scanning dependencies of target rtabmap
Scanning dependencies of target stereo_odometry
[  2%] Scanning dependencies of target rtabmap_ros_generate_messages_lisp
Generating C++ code from rtabmap_ros/NodeData.msg
Generating reconfiguration files for Camera in rtabmap_ros
Wrote header file in /home/jackson/catkin_ws/devel/include/rtabmap_ros/CameraConfig.h
[  3%] [  4%] Generating Lisp code from rtabmap_ros/NodeData.msg
[  5%] Building CXX object rtabmap_ros/CMakeFiles/rgbdicp_odometry.dir/src/RGBDICPOdometryNode.cpp.o
[  6%] [  6%] Building CXX object rtabmap_ros/CMakeFiles/rgbd_odometry.dir/src/RGBDOdometryNode.cpp.o
[  7%] Built target rtabmap_ros_gencfg
Building CXX object rtabmap_ros/CMakeFiles/icp_odometry.dir/src/ICPOdometryNode.cpp.o
[  8%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap.dir/src/CoreNode.cpp.o
Building CXX object rtabmap_ros/CMakeFiles/stereo_odometry.dir/src/StereoOdometryNode.cpp.o
Scanning dependencies of target rtabmap_ros_generate_messages_py
[  9%] Generating Python from MSG rtabmap_ros/NodeData
[ 10%] Generating Lisp code from rtabmap_ros/RGBDImage.msg
[ 11%] Generating Python from MSG rtabmap_ros/RGBDImage
[ 12%] Generating Lisp code from rtabmap_ros/Info.msg
[ 13%] Generating Python from MSG rtabmap_ros/Info
[ 14%] Generating C++ code from rtabmap_ros/RGBDImage.msg
[ 15%] Generating Lisp code from rtabmap_ros/KeyPoint.msg
[ 15%] Generating Python from MSG rtabmap_ros/KeyPoint
[ 16%] Generating Lisp code from rtabmap_ros/UserData.msg
[ 17%] Generating Python from MSG rtabmap_ros/UserData
[ 18%] [ 19%] Generating Python from MSG rtabmap_ros/MapData
Generating Lisp code from rtabmap_ros/MapData.msg
[ 20%] Generating C++ code from rtabmap_ros/Info.msg
[ 21%] Generating Lisp code from rtabmap_ros/Point3f.msg
[ 22%] Generating Python from MSG rtabmap_ros/Point3f
[ 23%] Generating Lisp code from rtabmap_ros/OdomInfo.msg
[ 24%] Generating Python from MSG rtabmap_ros/OdomInfo
[ 25%] [ 26%] Generating C++ code from rtabmap_ros/KeyPoint.msg
Generating Lisp code from rtabmap_ros/Link.msg
[ 27%] Generating Python from MSG rtabmap_ros/Link
[ 28%] Generating Lisp code from rtabmap_ros/Point2f.msg
[ 29%] Generating Python from MSG rtabmap_ros/Point2f
[ 29%] Generating Lisp code from rtabmap_ros/Goal.msg
[ 30%] Generating Python from MSG rtabmap_ros/Goal
[ 31%] Generating C++ code from rtabmap_ros/UserData.msg
[ 33%] [ 33%] Generating Python from MSG rtabmap_ros/MapGraph
Generating Lisp code from rtabmap_ros/MapGraph.msg
[ 34%] [ 35%] Generating Lisp code from rtabmap_ros/ListLabels.srv
Generating Python code from SRV rtabmap_ros/ListLabels
[ 37%] [ 37%] Generating Python code from SRV rtabmap_ros/SetGoal
Generating Lisp code from rtabmap_ros/SetGoal.srv
[ 38%] Generating C++ code from rtabmap_ros/MapData.msg
[ 38%] Generating Python code from SRV rtabmap_ros/SetLabel
[ 39%] Generating Lisp code from rtabmap_ros/SetLabel.srv
[ 40%] Generating Python code from SRV rtabmap_ros/PublishMap
[ 41%] Generating Lisp code from rtabmap_ros/PublishMap.srv
[ 42%] Generating Python code from SRV rtabmap_ros/GetMap
[ 43%] Generating Lisp code from rtabmap_ros/GetMap.srv
[ 43%] Generating C++ code from rtabmap_ros/Point3f.msg
[ 44%] Generating Python code from SRV rtabmap_ros/ResetPose
[ 45%] Generating Lisp code from rtabmap_ros/ResetPose.srv
[ 46%] [ 46%] Built target rtabmap_ros_generate_messages_lisp
Generating Python msg __init__.py for rtabmap_ros
[ 47%] Generating Python srv __init__.py for rtabmap_ros
[ 47%] Built target rtabmap_ros_generate_messages_py
[ 48%] [ 50%] Generating C++ code from rtabmap_ros/OdomInfo.msg
Generating C++ code from rtabmap_ros/Link.msg
[ 51%] Generating C++ code from rtabmap_ros/Point2f.msg
[ 52%] Generating C++ code from rtabmap_ros/Goal.msg
[ 54%] [ 54%] Generating C++ code from rtabmap_ros/ListLabels.srv
Generating C++ code from rtabmap_ros/MapGraph.msg
[ 55%] Generating C++ code from rtabmap_ros/SetGoal.srv
[ 56%] Generating C++ code from rtabmap_ros/SetLabel.srv
[ 57%] Generating C++ code from rtabmap_ros/PublishMap.srv
[ 58%] Generating C++ code from rtabmap_ros/GetMap.srv
[ 58%] Generating C++ code from rtabmap_ros/ResetPose.srv
[ 58%] Built target rtabmap_ros_generate_messages_cpp
[ 59%] Scanning dependencies of target camera
Generating src/rviz/moc_OrbitOrientedViewController.cxx
Scanning dependencies of target rtabmap_ros_generate_messages
[ 59%] Built target rtabmap_ros_generate_messages
[ 59%] Generating src/rviz/moc_MapCloudDisplay.cxx
[ 60%] Generating src/rviz/moc_MapGraphDisplay.cxx
[ 60%] Building CXX object rtabmap_ros/CMakeFiles/camera.dir/src/CameraNode.cpp.o
[ 61%] Generating src/rviz/moc_InfoDisplay.cxx
Linking CXX executable /home/jackson/catkin_ws/devel/lib/rtabmap_ros/rgbdicp_odometry
Linking CXX executable /home/jackson/catkin_ws/devel/lib/rtabmap_ros/rgbd_odometry
Linking CXX executable /home/jackson/catkin_ws/devel/lib/rtabmap_ros/stereo_odometry
Scanning dependencies of target rtabmap_ros
Linking CXX executable /home/jackson/catkin_ws/devel/lib/rtabmap_ros/rtabmap
Linking CXX executable /home/jackson/catkin_ws/devel/lib/rtabmap_ros/icp_odometry
[ 62%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/costmap_2d/static_layer.cpp.o
[ 63%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/rgbd_odometry.cpp.o
[ 63%] Built target rgbdicp_odometry
[ 64%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/stereo_odometry.cpp.o
[ 64%] Built target rgbd_odometry
[ 64%] Built target stereo_odometry
[ 65%] [ 66%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/rgbdicp_odometry.cpp.o
Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/icp_odometry.cpp.o
[ 66%] Built target rtabmap
[ 67%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/data_throttle.cpp.o
[ 67%] Built target icp_odometry
[ 68%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/stereo_throttle.cpp.o
Linking CXX executable /home/jackson/catkin_ws/devel/lib/rtabmap_ros/camera
[ 68%] Built target camera
[ 68%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/data_odom_sync.cpp.o
[ 69%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/point_cloud_xyzrgb.cpp.o
[ 70%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/point_cloud_xyz.cpp.o
[ 71%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/disparity_to_depth.cpp.o
[ 72%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/obstacles_detection.cpp.o
[ 73%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/obstacles_detection_old.cpp.o
[ 74%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/point_cloud_aggregator.cpp.o
[ 75%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/undistort_depth.cpp.o
[ 76%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/nodelets/rgbd_sync.cpp.o
[ 77%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/OdometryROS.cpp.o
[ 78%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/MsgConversion.cpp.o
[ 78%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/MapsManager.cpp.o
[ 79%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/CommonDataSubscriber.cpp.o
[ 80%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/CoreWrapper.cpp.o
[ 81%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/impl/CommonDataSubscriberDepth.cpp.o
[ 82%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/impl/CommonDataSubscriberStereo.cpp.o
[ 83%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/impl/CommonDataSubscriberRGBD.cpp.o
[ 84%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/impl/CommonDataSubscriberRGBD2.cpp.o
[ 85%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/rviz/MapCloudDisplay.cpp.o
[ 86%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/rviz/MapGraphDisplay.cpp.o
[ 87%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/rviz/InfoDisplay.cpp.o
[ 88%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/rviz/OrbitOrientedViewController.cpp.o
[ 88%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/rviz/moc_MapCloudDisplay.cxx.o
[ 89%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/rviz/moc_MapGraphDisplay.cxx.o
[ 90%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/rviz/moc_InfoDisplay.cxx.o
[ 91%] Building CXX object rtabmap_ros/CMakeFiles/rtabmap_ros.dir/src/rviz/moc_OrbitOrientedViewController.cxx.o
Scanning dependencies of target data_player
Scanning dependencies of target map_assembler
Scanning dependencies of target odom_msg_to_tf
Scanning dependencies of target rtabmapviz
Scanning dependencies of target map_optimizer
Scanning dependencies of target stereo_camera
[ 92%] Building CXX object rtabmap_ros/CMakeFiles/data_player.dir/src/DbPlayerNode.cpp.o
[ 93%] Building CXX object rtabmap_ros/CMakeFiles/odom_msg_to_tf.dir/src/OdomMsgToTFNode.cpp.o
[ 94%] [ 95%] [ 96%] Building CXX object rtabmap_ros/CMakeFiles/map_optimizer.dir/src/MapOptimizerNode.cpp.o
Building CXX object rtabmap_ros/CMakeFiles/map_assembler.dir/src/MapAssemblerNode.cpp.o
Building CXX object rtabmap_ros/CMakeFiles/stereo_camera.dir/src/StereoCameraNode.cpp.o
[ 97%] [ 98%] [100%] Building CXX object rtabmap_ros/CMakeFiles/rtabmapviz.dir/src/GuiWrapper.cpp.o
Building CXX object rtabmap_ros/CMakeFiles/rtabmapviz.dir/src/GuiNode.cpp.o
Building CXX object rtabmap_ros/CMakeFiles/rtabmapviz.dir/src/PreferencesDialogROS.cpp.o
Linking CXX executable /home/jackson/catkin_ws/devel/lib/rtabmap_ros/odom_msg_to_tf
Linking CXX executable /home/jackson/catkin_ws/devel/lib/rtabmap_ros/stereo_camera
Linking CXX executable /home/jackson/catkin_ws/devel/lib/rtabmap_ros/data_player
Linking CXX executable /home/jackson/catkin_ws/devel/lib/rtabmap_ros/map_optimizer
Linking CXX executable /home/jackson/catkin_ws/devel/lib/rtabmap_ros/map_assembler
Linking CXX executable /home/jackson/catkin_ws/devel/lib/rtabmap_ros/rtabmapviz
[100%] Built target stereo_camera
[100%] Built target odom_msg_to_tf
[100%] Built target data_player
[100%] Built target map_optimizer
[100%] Built target map_assembler
[100%] Built target rtabmapviz
matlabbe commented 8 years ago

Make sure that in your PATH (or LD_LIBRARY_PATH), the opencv libraries found first are those corresponding to those used on compilation (cmake path).

gs14iitbbs commented 7 years ago

Hi @jacksonkr I have installed ubuntu 14.04 + ROS indigo + openCv 2.4.8.

But I am getting similar error as you have discussed above..

-- Build files have been written to: /home/gaurav/catkin_ws/src/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build gaurav@gaurav-HP-Z420-Workstation:~/catkin_ws/src/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build$ cmake .. -DROS_BUILD_TYPE=Release [rosbuild] Building package ORB_SLAM2 [rosbuild] using multiarch 'x86_64-linux-gnu' for finding Boost -- Using CATKIN_DEVEL_PREFIX: /home/gaurav/catkin_ws/src/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build/devel -- Using CMAKE_PREFIX_PATH: /home/gaurav/catkin_ws/src/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build/devel;/home/gaurav/catkin_ws/devel;/opt/ros/indigo -- This workspace overlays: /home/gaurav/catkin_ws/src/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build/devel;/home/gaurav/catkin_ws/devel;/opt/ros/indigo -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Skip enable_testing() for dry packages -- Using CATKIN_TEST_RESULTS_DIR: /home/gaurav/catkin_ws/src/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.6.19 -- Using these message generators: gencpp;genlisp;genpy [rosbuild] Including /opt/ros/indigo/share/roslisp/rosbuild/roslisp.cmake [rosbuild] Including /opt/ros/indigo/share/roscpp/rosbuild/roscpp.cmake [rosbuild] Including /opt/ros/indigo/share/rospy/rosbuild/rospy.cmake Build type: Release -- Using flag -std=c++11. -- Configuring done CMake Warning at /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:509 (add_executable): Cannot generate a safe linker search path for target RGBD because files in some directories may conflict with libraries in implicit directories:

link library [libopencv_videostab.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_video.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_superres.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_stitching.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_photo.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_ocl.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_objdetect.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_ml.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_legacy.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_imgproc.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_highgui.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_gpu.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_flann.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_features2d.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_core.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_contrib.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_calib3d.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib

Some of these libraries may not be found correctly. Call Stack (most recent call first): CMakeLists.txt:90 (rosbuild_add_executable)

CMake Warning at /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:509 (add_executable): Cannot generate a safe linker search path for target Stereo because files in some directories may conflict with libraries in implicit directories:

link library [libopencv_videostab.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_video.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_superres.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_stitching.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_photo.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_ocl.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_objdetect.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_ml.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_legacy.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_imgproc.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_highgui.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_gpu.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_flann.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_features2d.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_core.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_contrib.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_calib3d.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib

Some of these libraries may not be found correctly. Call Stack (most recent call first): CMakeLists.txt:81 (rosbuild_add_executable)

CMake Warning at /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:509 (add_executable): Cannot generate a safe linker search path for target Mono because files in some directories may conflict with libraries in implicit directories:

link library [libopencv_videostab.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_video.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_superres.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_stitching.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_photo.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_ocl.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_objdetect.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_ml.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_legacy.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_imgproc.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_highgui.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_gpu.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_flann.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_features2d.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_core.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_contrib.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_calib3d.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib

Some of these libraries may not be found correctly. Call Stack (most recent call first): CMakeLists.txt:61 (rosbuild_add_executable)

CMake Warning at /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:509 (add_executable): Cannot generate a safe linker search path for target MonoAR because files in some directories may conflict with libraries in implicit directories:

link library [libopencv_videostab.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_video.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_superres.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_stitching.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_photo.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_ocl.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_objdetect.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_ml.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_legacy.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_imgproc.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_highgui.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_gpu.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_flann.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_features2d.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_core.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_contrib.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib
link library [libopencv_calib3d.so.2.4.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /usr/local/lib

Some of these libraries may not be found correctly. Call Stack (most recent call first): CMakeLists.txt:70 (rosbuild_add_executable)

-- Generating done -- Build files have been written to: /home/gaurav/catkin_ws/src/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build gaurav@gaurav-HP-Z420-Workstation:~/catkin_ws/src/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build$


And when I make it

-- Generating done -- Build files have been written to: /home/gaurav/catkin_ws/src/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build gaurav@gaurav-HP-Z420-Workstation:~/catkin_ws/src/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build$ make [ 0%] Built target rospack_genmsg_libexe [ 0%] Built target rosbuild_precompile make[2]: No rule to make target /usr/lib/x86_64-linux-gnu/libopencv_video.so.2.4.8', needed by../RGBD'. Stop. make[1]: [CMakeFiles/RGBD.dir/all] Error 2 make: *** [all] Error 2 gaurav@gaurav-HP-Z420-Workstation:~/catkin_ws/src/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build$


Please guide me how can I solve this issue

I tried every possible solution. but still unsuccessful.

jacksonkr commented 7 years ago

@gs14iitbbs In my original post I wasn't getting errors, I was getting warnings. I think you may have better luck at the Official RTAB-Map Forums

keeran6 commented 6 years ago

You may need to clean up your makefiles in src directory

an99990 commented 2 years ago

@jacksonkr what was the solution ? How do you fix your LD_LIBRARY_PATH ?

cgm-free commented 1 year ago
# If the package has been found, several variables will
# be set, you can find the full list with descriptions
# in the OpenCVConfig.cmake file.
# Print some message showing some of them
message(STATUS "OpenCV library status:")
message(STATUS "    config: ${OpenCV_DIR}")
message(STATUS "    version: ${OpenCV_VERSION}")
message(STATUS "    libraries: ${OpenCV_LIBS}")
message(STATUS "    include path: ${OpenCV_INCLUDE_DIRS}")

If this is shown:

config: /usr/lib/x86_64-linux-gnu/cmake/opencv4

You can add this code to change OpenCV_DIR:

SET(OpenCV_DIR /usr/local/lib/cmake/opencv4/)   # 设置OpenCV_DIR

Refer to: https://blog.csdn.net/u013454780/article/details/128357962?spm=1001.2014.3001.5501#:~:text=%E6%9C%89%E8%AD%A6%E5%91%8A%E4%BF%A1%E6%81%AF-,%E8%A7%A3%E5%86%B3%EF%BC%9A,SET(OpenCV_DIR%20/usr/local/lib/cmake/opencv4/)%20%20%20%23%20%E8%AE%BE%E7%BD%AEOpenCV_DIR,-SET(OpenCV_DIR%20/usr

rns0869 commented 7 months ago

Hey @cgm-free

message(STATUS "OpenCV library status:") message(STATUS " config: ${OpenCV_DIR}") message(STATUS " version: ${OpenCV_VERSION}") message(STATUS " libraries: ${OpenCV_LIBS}") message(STATUS " include path: ${OpenCV_INCLUDE_DIRS}")

I tried this in my cmake list and the output is :

OpenCV library status: -- config: /usr/local/lib/cmake/opencv4 -- version: 4.2.0 -- libraries: opencv_calib3d;opencv_core;opencv_dnn;opencv_features2d;opencv_flann;opencv_gapi;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_ml;opencv_objdetect;opencv_photo;opencv_stitching;opencv_video;opencv_videoio -- include path: /usr/local/include/opencv4

(opencv dir is already being shown as /usr/local/lib/cmake/opencv4) any suggestions, what should i do?

here is the terminal screenshot:

image

matlabbe commented 7 months ago

You can ignore the warning if the opencv version built from source is the same version than the system version.

rns0869 commented 7 months ago

@matlabbe oh okay thanks