鱼香ROS社区
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组
    • 注册
    • 登录
    紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
    提问前必看的发帖注意事项: 社区问答规则(小鱼个人)更新 | 高质量帖子发布指南

    在编译rtabmap包工作空间时报错

    已定时 已固定 已锁定 已移动 未解决
    综合问题
    rtabmap包编译出错 出错了
    2
    2
    516
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 5
      541477150
      最后由 编辑

      wwt@wwt:~/rtabmap_ws$ catkin_make
      Base path: /home/wwt/rtabmap_ws
      Source space: /home/wwt/rtabmap_ws/src
      Build space: /home/wwt/rtabmap_ws/build
      Devel space: /home/wwt/rtabmap_ws/devel
      Install space: /home/wwt/rtabmap_ws/install
      ####
      #### Running command: "make cmake_check_build_system" in "/home/wwt/rtabmap_ws/build"
      ####
      -- Using CATKIN_DEVEL_PREFIX: /home/wwt/rtabmap_ws/devel
      -- Using CMAKE_PREFIX_PATH: /home/wwt/rtabmap_ws/devel;/opt/ros/melodic
      -- This workspace overlays: /home/wwt/rtabmap_ws/devel;/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/wwt/rtabmap_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
      CMake Deprecation Warning at /usr/src/googletest/CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
      
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
      
      
      CMake Deprecation Warning at /usr/src/googletest/googlemock/CMakeLists.txt:41 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
      
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
      
      
      CMake Deprecation Warning at /usr/src/googletest/googletest/CMakeLists.txt:48 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
      
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
      
      
      -- 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 1 packages in topological order:
      -- ~~  - rtabmap_ros
      -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      -- +++ processing catkin package: 'rtabmap_ros'
      -- ==> add_subdirectory(rtabmap_ros)
      CMake Deprecation Warning at rtabmap_ros/CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
      
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
      
      
      CMake Deprecation Warning at rtabmap_ros/CMakeLists.txt:7 (cmake_policy):
        The OLD behavior for policy CMP0043 will be removed from a future version
        of CMake.
      
        The cmake-policies(7) manual explains that the OLD behaviors of all
        policies are deprecated and that a policy should be set to OLD only under
        specific short-term circumstances.  Projects should be ported to the NEW
        behavior and not rely on setting a policy to OLD.
      
      
      CMake Deprecation Warning at rtabmap_ros/CMakeLists.txt:12 (cmake_policy):
        The OLD behavior for policy CMP0042 will be removed from a future version
        of CMake.
      
        The cmake-policies(7) manual explains that the OLD behaviors of all
        policies are deprecated and that a policy should be set to OLD only under
        specific short-term circumstances.  Projects should be ported to the NEW
        behavior and not rely on setting a policy to OLD.
      
      
      -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
      CMake Error at /opt/ros/melodic/share/image_geometry/cmake/image_geometryConfig.cmake:113 (message):
        Project 'image_geometry' specifies '/usr/include/opencv' as an include dir,
        which is not found.  It does neither exist as an absolute directory nor in
        '${{prefix}}//usr/include/opencv'.  Check the website
        'http://www.ros.org/wiki/image_geometry' for information and consider
        reporting the problem.
      Call Stack (most recent call first):
        /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
        rtabmap_ros/CMakeLists.txt:18 (find_package)
      
      
      -- Configuring incomplete, errors occurred!
      See also "/home/wwt/rtabmap_ws/build/CMakeFiles/CMakeOutput.log".
      See also "/home/wwt/rtabmap_ws/build/CMakeFiles/CMakeError.log".
      Makefile:324: recipe for target 'cmake_check_build_system' failed
      make: *** [cmake_check_build_system] Error 1
      Invoking "make cmake_check_build_system" failed
      
      
      小鱼小 1 条回复 最后回复 回复 引用 0
      • 小鱼小
        小鱼 技术大佬 @541477150
        最后由 编辑

        @541477150 仔细瞅瞅这一块的错误,说是名字重复

        Project 'image_geometry' specifies '/usr/include/opencv' as an include dir,
          which is not found.  It does neither exist as an absolute directory nor in
          '${{prefix}}//usr/include/opencv'.  Check the website
          'http://www.ros.org/wiki/image_geometry' for information and consider
          reporting the problem.
        

        新书配套视频:https://www.bilibili.com/video/BV1GW42197Ck/

        1 条回复 最后回复 回复 引用 0
        • 第一个帖子
          最后一个帖子
        皖ICP备16016415号-7
        Powered by NodeBB | 鱼香ROS