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

    安装Fast DDS依赖项的 repos 文件时出现404:Not Found

    已定时 已固定 已锁定 已移动 已解决
    综合问题
    18
    27
    6.2k
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 995455989
      坚定 @99545598
      最后由 编辑

      @小鱼
      ros2@ros2-virtual-machine:~/d2lros2/fastdds_ws$ ls
      build fastrtps.repos gradle-6.4-bin.zip log
      Fast-CDR foonathan_memory_vendor IDL-Parser src
      Fast-DDS gradle-6.4 install
      这样下载下来的文件怎么编译呢

      995455989 1 条回复 最后回复 回复 引用 0
      • 995455989
        坚定 @99545598
        最后由 编辑

        @99545598
        pwd
        /home/ros2/d2lros2/fastdds_ws
        mv Fast-DDS foonathan_memory_vendor IDL-Parser ./src
        colcon build

        12618461531 1 条回复 最后回复 回复 引用 0
        • 12618461531
          ゝ沉默の姿色 @99545598
          最后由 编辑

          @99545598 32220730-64d8-4532-88af-9bcc3c60e6a0-image.png
          有出现这个问题的吗?

          1 条回复 最后回复 回复 引用 0
          • 28170249812
            马克 ROS2开发者 @小鱼
            最后由 编辑

            @小鱼 vcs命令之后是这样的报错,不知道正常嘛,如果不正确有没有可以更正的方法

            小鱼小 1 条回复 最后回复 回复 引用 0
            • 小鱼小
              小鱼 技术大佬 @2817024981
              最后由 编辑

              @2817025981 不要放桌面

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

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

                @小鱼 你好小鱼,这边还是不太行,能给个完整一些的代码吗?
                以下是我改的,依然连接被拒绝:
                repositories:
                foonathan_memory_vendor:
                type: git
                url: https://github.fishros.org/https://github.com/eProsima/foonathan_memory_vendor.git
                version: master
                fastcdr:
                type: git
                url: https://github.fishros.org/https://github.com/eProsima/Fast-CDR.git
                version: master
                fastrtps:
                type: git
                url: https://github.fishros.org/https://github.com/eProsima/Fast-DDS.git
                version: master
                fastddsgen:
                type: git
                url: https://github.fishros.org/https://github.com/eProsima/Fast-DDS-Gen.git
                version: master
                fastddsgen/thirdparty/idl-parser:
                type: git
                url: https://github.fishros.org/https://github.com/eProsima/IDL-Parser.git
                version: master

                1 2 2 条回复 最后回复 回复 引用 0
                • 1
                  Supersonic @54997824
                  最后由 编辑

                  @54997824
                  fastrtps.repos内容这么写试试

                  repositories:
                      foonathan_memory_vendor:
                          type: git
                          url: https://github.com/eProsima/foonathan_memory_vendor.git
                          version: master
                      fastcdr:
                          type: git
                          url: https://github.com/eProsima/Fast-CDR.git
                          version: master
                      fastrtps:
                          type: git
                          url: https://github.com/eProsima/Fast-DDS.git
                          version: master
                      fastddsgen:
                          type: git
                          url: https://github.com/eProsima/Fast-DDS-Gen.git
                          version: master
                      fastddsgen/thirdparty/idl-parser:
                          type: git
                          url: https://github.com/eProsima/IDL-Parser.git
                          version: master
                  
                  
                  Y 1 条回复 最后回复 回复 引用 1
                  • Y
                    yunchuwei @1647546850
                    最后由 编辑

                    @1647546850 还是不太行

                    1 条回复 最后回复 回复 引用 0
                    • 2
                      2974749756 @54997824
                      最后由 编辑

                      @小鱼 这个问题还是解决不了

                      1 条回复 最后回复 回复 引用 0
                      • 南京嵌入之梦南
                        南京嵌入之梦
                        最后由 编辑

                        @小鱼 在 安装Fast DDS依赖项的 repos 文件时出现404:Not Found 中说:

                        2817025981

                        这个不安装对后面使用有影响吗?
                        我也没有成功。

                        1 条回复 最后回复 回复 引用 0
                        • 南京嵌入之梦南
                          南京嵌入之梦 @99545598
                          最后由 编辑

                          @99545598 我按照你的方式分别下载了包,前面没有安装成功,但却生成了相关的目录。
                          我按照内容将下载的拷贝到对应目录下(注意:那个Fast_DDS拷贝到 fastrpts,IDL-Parser拷贝到 fastddsgen\thirdparty下),后面就按照操作即可编译成功。

                          不过我安装完成后,在后一遍编译DDS示例程序时失败了,出错提示:
                          error: ‘DDS_CDR’ is not a member of ‘eprosima::fastcdr::Cdr’
                          我又晕了,暂时搁置。

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

                            @小鱼 我手动编辑 fastrtps.repos,去掉 ghproxy.com 代理前缀:

                            repositories:
                                foonathan_memory_vendor:
                                    type: git
                                    url: https://github.com/eProsima/foonathan_memory_vendor.git
                                    version: master
                                fastcdr:
                                    type: git
                                    url: https://github.com/eProsima/Fast-CDR.git
                                    version: master
                                fastrtps:
                                    type: git
                                    url: https://github.com/eProsima/Fast-DDS.git
                                    version: master
                                fastddsgen:
                                    type: git
                                    url: https://github.com/eProsima/Fast-DDS-Gen.git
                                    version: master
                                fastddsgen/thirdparty/idl-parser:
                                    type: git
                                    url: https://github.com/eProsima/IDL-Parser.git
                                    version: master
                            

                            然后clone成功
                            Guided by GPT

                            1 条回复 最后回复 回复 引用 0
                            • SwanseaS
                              Swansea @591058400
                              最后由 编辑

                              @591058400 在 安装Fast DDS依赖项的 repos 文件时出现404:Not Found 中说:

                              感谢大佬换成这个问题解决:https://services.gradle.org/distributions/gradle-6.4-bin.zip

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