我是使用Ubuntu的新手,问题是我想安装opencv,然后我想用这句话查看已安装程序的版本
pkg-config --modversion opencv
然后终端向我显示这种类型的“错误”
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
我试图做所有事情,但是它不起作用,有人知道如何解决?
答案 0 :(得分:0)
将开发包安装为:
apt install libopencv-dev