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
Related code examples
The command could not be located because '/snap/bin' is not included in the PATH environment variable.
Warning: Homebrew's sbin was not found in your PATH but you have installed formulae that put executables in /usr/local/sbin.
If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvDestroyAllWindows'