Im trying to use OpenCV but I keep on getting this error on Cmake:
CMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles”
I know what I have to do is : “cmake is having a hard time finding make and GCC, add the mingw bin dir to your PATH environment variable.”
But I do not know:
- how to add the mingw
- where is the PATH environment variable?
This link describes how to add entries to the PATH environmental variable. You need to add the directory where your MinGW is installed there.
You can also consult wiki if you want some information what PATH is actually for.