标签:path uri pat 技术 ack oca 从零开始 嵌入式 https
原理上来说,和windows下没有差别,我们同样使用Cmake-GUI来解决问题。必须安装依赖的库
sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
可以选择安装的
2、从github上下载相关代码:
这里我们只安装基本的代码,如果结合contrib的话请参考相关资料。比如
《(5编译使用最新opencv)从零开始的嵌入式图像图像处理(PI+QT+OpenCV)实战演练>
https://www.cnblogs.com/jsxyhelu/p/8000819.html
# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
# echo "/usr/local/lib" >> /etc/ld.so.conf
# ldconfig
INCLUDEPATH += /usr/local/include/opencv4 \
/usr/local/include/opencv4/opencv2
LIBS += /usr/local/lib/libopencv_highgui.so\
/usr/local/lib/libopencv_core.so\
/usr/local/lib/libopencv_videoio.so\
/usr/local/lib/libopencv_imgcodecs.so\
/usr/local/lib/libopencv_imgproc.so
标签:path uri pat 技术 ack oca 从零开始 嵌入式 https
原文地址:https://www.cnblogs.com/jsxyhelu/p/10349447.html