Ubuntu 16.04 + OpenCV 自定义环境变量 pkg-config / PKG_CONFIG_PATH
参考链接:openCV安装参考链接https://www.cnblogs.com/dinghongkai/p/11287688.html
安装完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
参考博客处理