I can not compile openCV with Cmake and MinGW on windows. I do not fully understand my mistake, please see:
Ok, I can’t post a photo. So here is the error:
CMake Error at cmake/OpenCVUtils.cmake:19 (if):
if the given arguments are:
"C:/BuildOpenCV" "MATCHES" "^C:/Users/Corentin/Desktop/C_C++/openCV/opencv" "OR" "C:/BuildOpenCV" "MATCHES" "^C:/BuildOpenCV"
The regular expression "^ C: / Users / Corentin / Desktop / C_C ++ / openCV / opencv" cannot compile the Call Stack (last call first): CMakeLists.txt: 281 (ocv_include_directories)
My source directory: C: / Users / Corentin / Desktop / C_C ++ / openCV / opencv
Where to build binaries: C: / BuildOpenCV
Do you have any idea what might cause such a problem? I am a new user, maybe I forgot some important details, please forgive me =).
Thank!
source
share