Ubuntu18上交叉编译树莓派3B+ opencv4.10 (非常详细) 第二章-依赖库

安装opencv依赖库环境

参考文章:https://www.jianshu.com/p/da62e1c1b2ca

1. 安装OpenCV的图像工具包

sudo apt-get install libjpeg8-dev
sudo apt-get install libtiff5-dev
sudo apt-get install libjasper-dev
sudo apt-get install libpng12-dev

2. 安装视频I/O包

sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev

3.安装gtk2.0和优化函数包

sudo apt-get install libgtk2.0-dev
sudo apt-get install libatlas-base-dev gfortran

 

ldd查看opencv库的时候才不至于找不到

你可能感兴趣的:(树莓派3B+,OpenCV)