This document describes the dependency installation of nvidia embedded board.
AGX Orin 32GB with JetPack5.0.2 are tested.
JetPack 5.0.2 (Ubuntu 20.04)
Python 3.8.10, CUDA 11.4.14, CUDNN 8.4.1, TensorRT 8.4.1
Eigen 3.3.7, Ceres 1.14.0, Protobuf 3.8.0, NLOPT 2.4.2, G2O, OpenCV 4.5.5, PCL 1.9.1, GTSAM 4.0
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1
sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
sudo apt install libboost-dev libboost-filesystem-dev libboost-date-time-dev libboost-iostreams-dev
sudo apt install libopenmpi-dev libtbb-dev libopenblas-dev busybox cmake
sudo apt install gfortran libjpeg-dev libgeos-dev libturbojpeg clang-12 libelf-dev
sudo apt install libzmq3-dev gpsd libflann-dev libqhull-dev libgps-dev libgstrtspserver-1.0-dev
sudo apt install libeigen3-dev libceres-dev
sudo add-apt-repository ppa:borglab/gtsam-release-4.0
sudo apt install libgtsam-dev libgtsam-unstable-dev
sudo rm -rf /usr/lib/python3/dist-packages/numpy*
sudo rm -rf /usr/lib/python3/dist-packages/scipy*
sudo pip install Cython
sudo pip install numpy==1.23.4
sudo pip install flask flask_cors colorlog pycuda easydict pybind11 pyinstaller json-rpc
sudo pip install protobuf==3.16.0
sudo pip install scipy filterpy shapely python-can onnx gevent websockets zerorpc flask_socketio gevent-websocket
git clone https://github.com/w111liang222/LSD-Nvidia-Libs.git
cd LSD-Nvidia-Libs
sudo ./install.sh # need to run this script twice