MinGW-W64
MinGW-W64要下载
否则后面编译出错:
D:/openCV_win/opencv/sources/modules/core/include/opencv2/core/utility.hpp:719:29: error: 'Mutex' is not a member of 'cv'
typedef std::lock_guard AutoLock;
^~~~~
D:/openCV_win/opencv/sources/modules/core/include/opencv2/core/utility.hpp:719:29: note: suggested alternative: 'Matx'
typedef std::lock_guard AutoLock;
^~~~~
Matx
D:/openCV_win/opencv/sources/modules/core/include/opencv2/core/utility.hpp:719:29: error: 'Mutex' is not a member of 'cv'
D:/openCV_win/opencv/sources/modules/core/include/opencv2/core/utility.hpp:719:29: note: suggested alternative: 'Matx'
typedef std::lock_guard AutoLock;
^~~~~
Matx
D:/openCV_win/opencv/sources/modules/core/include/opencv2/core/utility.hpp:719:34: error: template argument 1 is invalid
typedef std::lock_guard AutoLock;
^
[ 14%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/graph.cpp.obj
minGW32-make[2]: *** [modules\core\CMakeFiles\opencv_core.dir\build.make:118: modules/core/CMakeFiles/opencv_core.dir/src/alloc.cpp.obj] Error 1
[ 14%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngget.c.obj
[ 14%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_codec.c.obj
In file included from D:\openCV_win\opencv\sources\modules\core\src\arithm.cpp:50:
D:\openCV_win\opencv\sources\modules\core\src\precomp.hpp:369:5: error: 'Mutex' in namespace 'cv' does not name a type
cv::Mutex& getInitializationMutex();
^~~~~
D:\openCV_win\opencv\sources\modules\core\src\precomp.hpp:369:1: note: suggested alternative: 'Matx'
cv::Mutex& getInitializationMutex();
^~
Matx






