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

    colcon build报错法

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

      动手建模按照步骤操作到这步骤就出现无法编译

      (colcon build)

       Starting >>> fishbot_description
      /home/zj/.local/lib/python3.6/site-packages/setuptools/dist.py:726: UserWarning: Usage of dash-separated 'script-dir' will not be supported in future versions. Please use the underscore name 'script_dir' instead
        % (opt, underscore_opt)
      /home/zj/.local/lib/python3.6/site-packages/setuptools/dist.py:726: UserWarning: Usage of dash-separated 'install-scripts' will not be supported in future versions. Please use the underscore name 'install_scripts' instead
        % (opt, underscore_opt)
      --- stderr: fishbot_description                   
      /home/zj/.local/lib/python3.6/site-packages/setuptools/dist.py:726: UserWarning: Usage of dash-separated 'script-dir' will not be supported in future versions. Please use the underscore name 'script_dir' instead
        % (opt, underscore_opt)
      /home/zj/.local/lib/python3.6/site-packages/setuptools/dist.py:726: UserWarning: Usage of dash-separated 'install-scripts' will not be supported in future versions. Please use the underscore name 'install_scripts' instead
        % (opt, underscore_opt)
      /home/zj/.local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        setuptools.SetuptoolsDeprecationWarning,
      ---
      Finished <<< fishbot_description [1.27s]
      
      Summary: 1 package finished [1.58s]
        1 package had stderr output: fishbot_description
      
      小鱼小 1 条回复 最后回复 回复 引用 0
      • 小鱼小
        小鱼 技术大佬 @15014960082
        最后由 编辑

        @15014960082

        看这句话:

        在 colcon build报错法 中说:

        Finished <<< fishbot_description [1.27s]

        其实已经编译成功了,只不过编译工具有些bug,可以继续往下学。

        这个WAENING应该是setuptools版本造成的,后面保持和教程同样的foxy应该没问题了。

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

        1 1 条回复 最后回复 回复 引用 0
        • 1
          15014960082 @小鱼
          最后由 编辑

          @小鱼好的,谢谢您

          1 条回复 最后回复 回复 引用 0
          • 小鱼小 小鱼 从 中的 动手学ROS2 移动了该主题
          • 第一个帖子
            最后一个帖子
          皖ICP备16016415号-7
          Powered by NodeBB | 鱼香ROS