Застрял на этом этапе во время компиляции в Windows10 64-разрядной проф.
Установка MinGW64: x86_64-8.1.0-win32-seh-rt_v6-rev0
Установить c ++ 11 в кодовом блокекомпилятор.
Opencv-4.0.1 \ modules \ core \ include \ opencv2 \ core \ utility.hpp
Некоторая путаница в пространстве имен потоков.
Строка 653
typedef std::recursive_mutex Mutex;
Нужна помощь, чтобы понять.Я довольно новичок в этой области, и я просто следовал некоторому руководству, чтобы получить результат.
||=== Build: all in OpenCV (compiler: GNU GCC Compiler) ===|
E:\Image processing\0NEWBU~1\3rdparty\LIBJPE~1\jconfig.h|45|warning: "XMD_H" redefined|
E:\Image processing\opencv-4.0.1\3rdparty\libtiff\tif_jpeg.c|67|note: this is the location of the previous definition|
E:\Image processing\opencv-4.0.1\3rdparty\protobuf\src\google\protobuf\stubs\common.cc||In member function 'google::protobuf::internal::LogMessage& google::protobuf::internal::LogMessage::operator<<(long long int)':|
E:\Image processing\opencv-4.0.1\3rdparty\protobuf\src\google\protobuf\stubs\common.cc|246|warning: unknown conversion type character 'l' in format [-Wformat=]|
E:\Image processing\opencv-4.0.1\3rdparty\protobuf\src\google\protobuf\stubs\common.cc|232|note: in definition of macro 'DECLARE_STREAM_OPERATOR'|
E:\Image processing\opencv-4.0.1\3rdparty\protobuf\src\google\protobuf\stubs\common.cc|246|warning: too many arguments for format [-Wformat-extra-args]|
E:\Image processing\opencv-4.0.1\3rdparty\protobuf\src\google\protobuf\stubs\common.cc|232|note: in definition of macro 'DECLARE_STREAM_OPERATOR'|
E:\Image processing\opencv-4.0.1\3rdparty\protobuf\src\google\protobuf\stubs\common.cc||In member function 'google::protobuf::internal::LogMessage& google::protobuf::internal::LogMessage::operator<<(long long unsigned int)':|
E:\Image processing\opencv-4.0.1\3rdparty\protobuf\src\google\protobuf\stubs\common.cc|247|warning: unknown conversion type character 'l' in format [-Wformat=]|
E:\Image processing\opencv-4.0.1\3rdparty\protobuf\src\google\protobuf\stubs\common.cc|232|note: in definition of macro 'DECLARE_STREAM_OPERATOR'|
E:\Image processing\opencv-4.0.1\3rdparty\protobuf\src\google\protobuf\stubs\common.cc|247|warning: too many arguments for format [-Wformat-extra-args]|
E:\Image processing\opencv-4.0.1\3rdparty\protobuf\src\google\protobuf\stubs\common.cc|232|note: in definition of macro 'DECLARE_STREAM_OPERATOR'|
E:\Image processing\OPENCV~1.1\modules\core\include\opencv2\core\utility.hpp|653|error: 'recursive_mutex' in namespace 'std' does not name a type|
E:\Image processing\OPENCV~1.1\modules\core\include\opencv2\core\utility.hpp|653|note: 'std::recursive_mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?|
E:\Image processing\OPENCV~1.1\modules\core\include\opencv2\core\utility.hpp|654|error: 'Mutex' is not a member of 'cv'|
E:\Image processing\OPENCV~1.1\modules\core\include\opencv2\core\utility.hpp|654|note: suggested alternative: 'Matx'|
E:\Image processing\OPENCV~1.1\modules\core\include\opencv2\core\utility.hpp|654|error: 'Mutex' is not a member of 'cv'|
E:\Image processing\OPENCV~1.1\modules\core\include\opencv2\core\utility.hpp|654|note: suggested alternative: 'Matx'|
E:\Image processing\OPENCV~1.1\modules\core\include\opencv2\core\utility.hpp|654|error: template argument 1 is invalid|
E:\Image processing\opencv-4.0.1\modules\core\src\precomp.hpp|365|error: 'Mutex' in namespace 'cv' does not name a type|
E:\Image processing\opencv-4.0.1\modules\core\src\precomp.hpp|365|note: suggested alternative: 'Matx'|
[modules\core\CMakeFiles\opencv_core_pch_dephelp.dir\build.make|63|modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.cxx.obj] Error 1|
[CMakeFiles\Makefile2|1460|modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/all] Error 2|
[E:\Image processing\0NewBuild\Makefile|162|all] Error 2|
||=== Build failed: 8 error(s), 5 warning(s) (7 minute(s), 28 second(s)) ===|