storypku / CyberRT

Apollo CyberRT framework for Autonomous Driving
Apache License 2.0
103 stars 38 forks source link

安装依赖失败 #5

Open hamburgerBear opened 2 years ago

hamburgerBear commented 2 years ago

你好,我的环境是ubuntu18.04, 当我根据指南安装依赖的时候出现了如下的问题: image

qitong-wei commented 1 year ago

Fast DDS的仓库找不到这个1.5.0分支了,cyberRT没有更新

iDings commented 1 year ago

release/1.5.0 is no longer avaiable on fast-rtps, but tag still have v1.5.0,can use the patch show below to fix this problem

diff --git a/tools/install/install_prereqs.sh b/tools/install/install_prereqs.sh
old mode 100644
new mode 100755
index 4063de9..68e8d52
--- a/tools/install/install_prereqs.sh
+++ b/tools/install/install_prereqs.sh
@@ -15,7 +15,7 @@ DEST_DIR="/usr/local/fast-rtps"
 if [[ -d "${DEST_DIR}" ]]; then
     echo "Previous fast-rtps installation found and will be used."
 else
-    git clone --single-branch --branch release/1.5.0 --depth 1 \
+    git clone --single-branch --branch v1.5.0 --depth 1 \
         https://github.com/eProsima/Fast-RTPS.git /tmp/fast-rtps.git
     pushd /tmp/fast-rtps.git
         git submodule update --init
Sens99 commented 1 year ago

ubuntu20.04可以用吗