编译环境:Ubuntu 18.04
NDK:r20b
安装必要环境
sudo apt install cmake git make ninja python3-pip
安装conan
sudo pip3 install conan
执行编译脚本,下载依赖库及交叉编译
./pcl-build-for-android.sh arm64-v8a
遇到的问题:
1、https://dl.bintray.com/boostorg/ 502 bad gateway
修改/pcl-for-android/conanfiles/boos/conanfile.py 中的网址为:
tools.get("https://boostorg.jfrog.io/artifactory/main/release/{}/source/{}.tar.gz".format(self.version,self.folder_name))
本文介绍如何在Ubuntu18.04环境下使用NDK r20b进行PCL库的交叉编译,并针对Arm64-v8a架构提供具体的编译脚本。文中还详细记录了解决依赖库下载失败问题的过程。
2868

被折叠的 条评论
为什么被折叠?



