小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
安装Fast DDS依赖项的 repos 文件时出现404:Not Found
-
@2443789443 ghproxy已经挂了,可以换成 github.fishros.org
-
-
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. -
@小鱼
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
这样下载下来的文件怎么编译呢 -
@99545598
pwd
/home/ros2/d2lros2/fastdds_ws
mv Fast-DDS foonathan_memory_vendor IDL-Parser ./src
colcon build -
@99545598
有出现这个问题的吗? -
-
@2817025981 不要放桌面
-
@小鱼 你好小鱼,这边还是不太行,能给个完整一些的代码吗?
以下是我改的,依然连接被拒绝:
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 -
@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
-
@1647546850 还是不太行
-
@小鱼 这个问题还是解决不了
-
-
@99545598 我按照你的方式分别下载了包,前面没有安装成功,但却生成了相关的目录。
我按照内容将下载的拷贝到对应目录下(注意:那个Fast_DDS拷贝到 fastrpts,IDL-Parser拷贝到 fastddsgen\thirdparty下),后面就按照操作即可编译成功。不过我安装完成后,在后一遍编译DDS示例程序时失败了,出错提示:
error: ‘DDS_CDR’ is not a member of ‘eprosima::fastcdr::Cdr’
我又晕了,暂时搁置。