一、安装依赖
sudo apt-get install libssl-dev
二、安装cmake
wget https://github.com/Kitware/CMake/archive/refs/tags/v3.28.0.tar.gz
tar -zxvf CMake-3.28.0.tar.gz
cd CMake-3.28.0/
mkdir build && cd build
../bootstrap && make
sudo make install
三、安装 pybind
git clone https://github.com/pybind/pybind11.git
cd pybind11/
mkdir build
cd build/
cmake ..
make -j4
sudo make install
原文链接:树莓派5 64位系统编译安装 onnxruntime_aarch64树莓派安装onnxruntime-CSDN博客
四、编译安装ONNX
下载源码:
git clone https://github.com/onnx/onnx.git
编译安装ONNX:
cd onnx/
python setup.py build
sudo python setup.py install
原文链接:树莓派4b(armv8) 64位系统编译安装onnx_树莓派aarch64安装onnxruntime-CSDN博客