例如:
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
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
設置環境變量PKG_CONFIG_PATH方法舉例如下:
找到 opencv.pc所在文件夾 比如 /test/
設置為環境變量
export PKG_CONFIG_PATH=/test/:$PKG_CONFIG_PATH
