fastrtps dependency
Closed this issue · 2 comments
hi ,
scripts/install.sh :
if [[ "${ARCH}" == "x86_64" ]]; then
PKG_NAME="fast-rtps-1.5.0-1.prebuilt.x86_64.tar.gz"
else # aarch64
PKG_NAME="fast-rtps-1.5.0-1.prebuilt.aarch64.tar.gz"
fi
DOWNLOAD_LINK="https://apollo-system.cdn.bcebos.com/archive/6.0/${PKG_NAME}"
if [ -e $INSTALL_PATH/$PKG_NAME ]
then
echo ""
else
wget $DOWNLOAD_LINK -P $INSTALL_PATH
fi
- I notice that fastrtps is a prebuild version, is it because of any special changes?
- If I want to cross-compile CyberRT to another platform, should I download the source code of fastrtps-1.5.0 and recompile with my cross-compile toochain?
look forward to your reply!
hi , scripts/install.sh :
if [[ "${ARCH}" == "x86_64" ]]; then PKG_NAME="fast-rtps-1.5.0-1.prebuilt.x86_64.tar.gz" else # aarch64 PKG_NAME="fast-rtps-1.5.0-1.prebuilt.aarch64.tar.gz" fi DOWNLOAD_LINK="https://apollo-system.cdn.bcebos.com/archive/6.0/${PKG_NAME}" if [ -e $INSTALL_PATH/$PKG_NAME ] then echo "" else wget $DOWNLOAD_LINK -P $INSTALL_PATH fi
- I notice that fastrtps is a prebuild version, is it because of any special changes?
- If I want to cross-compile CyberRT to another platform, should I download the source code of fastrtps-1.5.0 and recompile with my cross-compile toochain?
look forward to your reply!
yep, fast-dds1.5.0
version requires patching, whether or not you need to recompile depends on the architecture of your platform, and recompile is not a problem as long as you add patch files during compilation,
hi , scripts/install.sh :
if [[ "${ARCH}" == "x86_64" ]]; then PKG_NAME="fast-rtps-1.5.0-1.prebuilt.x86_64.tar.gz" else # aarch64 PKG_NAME="fast-rtps-1.5.0-1.prebuilt.aarch64.tar.gz" fi DOWNLOAD_LINK="https://apollo-system.cdn.bcebos.com/archive/6.0/${PKG_NAME}" if [ -e $INSTALL_PATH/$PKG_NAME ] then echo "" else wget $DOWNLOAD_LINK -P $INSTALL_PATH fi
- I notice that fastrtps is a prebuild version, is it because of any special changes?
- If I want to cross-compile CyberRT to another platform, should I download the source code of fastrtps-1.5.0 and recompile with my cross-compile toochain?
look forward to your reply!
yep,
fast-dds1.5.0
version requires patching, whether or not you need to recompile depends on the architecture of your platform, and recompile is not a problem as long as you add patch files during compilation,
Thanks a lot , I added patching and recompiled fastrtps1.5.0 ,it works. So If anyone else needs to cross-compile like me, they'd better do it or they might have some link issues when compiling cyberRT at the end.