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

    ros2 foxy moveit2 编译错误

    已定时 已固定 已锁定 已移动
    ROS 2相关问题
    moveit2 机械臂
    3
    3
    1.1k
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 5728716925
      L
      最后由 编辑

      系统: ubontu20.04 ros2 foxy版本
      根据帖子:动手学moveit2 探索篇1
      一步一步运行:
      在运行到
      colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
      发生一下错误:
      --- stderr: moveit_core
      CMake Warning (dev) at /usr/local/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
      The package name passed to find_package_handle_standard_args (libdw) does
      not match the name of the calling package (backward_ros). This can lead to
      problems in calling code that expects find_package result variables
      (e.g., _FOUND) to follow a certain pattern.
      Call Stack (most recent call first):
      /opt/ros/foxy/share/backward_ros/cmake/BackwardConfig.cmake:55 (find_package_handle_standard_args)
      /opt/ros/foxy/share/backward_ros/cmake/backward_rosConfig.cmake:41 (include)
      /home/z/moveit2/install/moveit_common/share/moveit_common/cmake/moveit_package.cmake:36 (find_package)
      CMakeLists.txt:6 (moveit_package)
      This warning is for project developers. Use -Wno-dev to suppress it.

      CMake Warning (dev) at /usr/local/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
      The package name passed to find_package_handle_standard_args (libbfd)
      does not match the name of the calling package (backward_ros). This can
      lead to problems in calling code that expects find_package result
      variables (e.g., _FOUND) to follow a certain pattern.
      Call Stack (most recent call first):
      /opt/ros/foxy/share/backward_ros/cmake/BackwardConfig.cmake:66 (find_package_handle_standard_args)
      /opt/ros/foxy/share/backward_ros/cmake/backward_rosConfig.cmake:41 (include)
      /home/z/moveit2/install/moveit_common/share/moveit_common/cmake/moveit_package.cmake:36 (find_package)
      CMakeLists.txt:6 (moveit_package)
      This warning is for project developers. Use -Wno-dev to suppress it.

      CMake Warning (dev) at /usr/local/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
      The package name passed to find_package_handle_standard_args (Backward)
      does not match the name of the calling package (backward_ros). This can
      lead to problems in calling code that expects find_package result
      variables (e.g., _FOUND) to follow a certain pattern.
      Call Stack (most recent call first):
      /opt/ros/foxy/share/backward_ros/cmake/BackwardConfig.cmake:128 (find_package_handle_standard_args)
      /opt/ros/foxy/share/backward_ros/cmake/backward_rosConfig.cmake:41 (include)
      /home/z/moveit2/install/moveit_common/share/moveit_common/cmake/moveit_package.cmake:36 (find_package)
      CMakeLists.txt:6 (moveit_package)
      This warning is for project developers. Use -Wno-dev to suppress it.

      CMake Error at CMakeLists.txt:25 (find_package):
      By not providing "Findgenerate_parameter_library.cmake" in
      CMAKE_MODULE_PATH this project has asked CMake to find a package
      configuration file provided by "generate_parameter_library", but CMake did
      not find one.

      Could not find a package configuration file provided by
      "generate_parameter_library" with any of the following names:

      generate_parameter_libraryConfig.cmake
      generate_parameter_library-config.cmake
      

      Add the installation prefix of "generate_parameter_library" to
      CMAKE_PREFIX_PATH or set "generate_parameter_library_DIR" to a directory
      containing one of the above files. If "generate_parameter_library"
      provides a separate development package or SDK, be sure it has been
      installed.


      Failed <<< moveit_core [0.88s, exited with code 1]
      Aborted <<< moveit_resources [0.86s]
      Aborted <<< rosparam_shortcuts [2.56s]
      Aborted <<< rviz_visual_tools [4.85s]
      Aborted <<< moveit_task_constructor_msgs [5.16s]
      Aborted <<< rviz_marker_tools [7.44s]

      Summary: 10 packages finished [8.92s]
      1 package failed: moveit_core
      5 packages aborted: moveit_resources moveit_task_constructor_msgs rosparam_shortcuts rviz_marker_tools rviz_visual_tools
      2 packages had stderr output: moveit_core rviz_marker_tools
      41 packages not processed

      小鱼小 28915512182 2 条回复 最后回复 回复 引用 0
      • 小鱼小
        小鱼 技术大佬 @572871692
        最后由 编辑

        @572871692 看这篇 https://fishros.org.cn/forum/topic/395/动手学moveit2-3-安装moveit2测试

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

        1 条回复 最后回复 回复 引用 0
        • 28915512182
          one piece @572871692
          最后由 编辑

          @572871692 请问这个问题解决了吗😊 😊

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