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

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

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

      @2104113804 解决好了吗

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

        @2443789443 ghproxy已经挂了,可以换成 github.fishros.org

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

        995455989 5 2 条回复 最后回复 回复 引用 0
        • 995455989
          坚定 @小鱼
          最后由 编辑

          @小鱼 wget https://mirrors.aliyun.com/macports/distfiles/gradle/gradle-6.4-bin.zip

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

            @99545598

            git clone https://gitclone.com/github.com/eProsima/foonathan_memory_vendor.git

            git clone https://gitclone.com/github.com/eProsima/Fast-CDR.git

            git clone https://gitclone.com/github.com/eProsima/Fast-DDS.git

            git clone https://gitclone.com/github.com/eProsima/Fast-DDS-Gen.git

            git clone https://gitclone.com/github.com/eProsima/IDL-Parser.git

            ros2@ros2-virtual-machine:~/d2lros2/fastdds_ws$ git clone https://gitclone.com/github.com/eProsima/foonathan_memory_vendor.git
            Cloning into 'foonathan_memory_vendor'...
            remote: 对象计数中: 232, 完成.
            remote: 压缩对象中: 100% (146/146), 完成.
            remote: Total 232 (delta 144), reused 135 (delta 85)
            Receiving objects: 100% (232/232), 68.44 KiB | 181.00 KiB/s, done.
            Resolving deltas: 100% (144/144), done.
            ros2@ros2-virtual-machine:~/d2lros2/fastdds_ws$ git clone https://gitclone.com/github.com/eProsima/Fast-CDR.git
            Cloning into 'Fast-CDR'...
            remote: 对象计数中: 5140, 完成.
            remote: 压缩对象中: 100% (2276/2276), 完成.
            remote: Total 5140 (delta 2778), reused 4268 (delta 2232)
            Receiving objects: 100% (5140/5140), 4.17 MiB | 259.00 KiB/s, done.
            Resolving deltas: 100% (2778/2778), done.
            ros2@ros2-virtual-machine:~/d2lros2/fastdds_ws$ git clone https://gitclone.com/github.com/eProsima/Fast-DDS.git
            Cloning into 'Fast-DDS'...
            remote: 对象计数中: 135615, 完成.
            remote: 压缩对象中: 100% (32890/32890), 完成.
            remote: Total 135615 (delta 95894), reused 130935 (delta 92304)
            Receiving objects: 100% (135615/135615), 92.97 MiB | 236.00 KiB/s, done.
            Resolving deltas: 100% (95894/95894), done.
            ros2@ros2-virtual-machine:~/d2lros2/fastdds_ws$ git clone https://gitclone.com/github.com/eProsima/IDL-Parser.git
            Cloning into 'IDL-Parser'...
            remote: 对象计数中: 2496, 完成.
            remote: 压缩对象中: 100% (1067/1067), 完成.
            remote: Total 2496 (delta 1053), reused 1749 (delta 718)
            Receiving objects: 100% (2496/2496), 551.12 KiB | 81.00 KiB/s, done.
            Resolving deltas: 100% (1053/1053), done.

            995455989 南京嵌入之梦南 2 条回复 最后回复 回复 引用 1
            • 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