https://blog.csdn.net/xiejiejun/article/details/120688635
Jetson Xavier NX安装opencv3.4.5(小白教程)
3. 下载Opencv3.4.5.zip文件**
网盘链接:
链接:https://pan.baidu.com/s/1ef9YFsgs60qmlHfFtScrpQ 提取码:CGNB
文件内也有
4. 安装环境依赖项
这一步骤比较重要,如果没有安装更新的话,在后面编译过程中会出现报错
sudo apt-get install build-essential
sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libdc1394-22-dev
sudo apt-get install --only-upgrade g++-5 cpp-5 gcc-5
sudo apt-get install libjasper-dev
若提示无法定位libjasper-dev包,则:
sudo add-apt-repository "deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial main multiverse restricted universe"
sudo apt-get update
再 sudo apt-get install libjasper-dev
更新后再安装Qt5