OpenCV BUILD in C++
I 'm working with windows 10 and Opencv 3.4.7 witch Cmake 3,14,4 witch i havvev this error Performing Test HAVE_STD_CXX11 - Failed CMake Error at cmake/OpenCVDetectCXXCompiler.cmake:196 (message): OpenCV 4.x requires C++11 Call Stack (most recent call first): CMakeLists.txt:150 (include)
so, which compiler ?
GCC (min-GW)version 8.1
for mingw, you should pass the compiler's location directly to cmake (all those CMAKE_CXX_COMPILER flags), not rely on the automatic detection. (or use cmake-gui, which should open a box for this)