-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19041. -- The CXX compiler identification is MSVC 19.16.27041.0 -- The C compiler identification is MSVC 19.16.27041.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detected processor: AMD64 -- Found PythonInterp: F:/Program Files/Python/python.exe (found suitable version "3.8.5", minimum required is "2.7") CMake Warning at cmake/OpenCVDetectPython.cmake:81 (message): CMake's 'find_host_package(PythonInterp 2.7)' found wrong Python version: PYTHON_EXECUTABLE=F:/Program Files/Python/python.exe PYTHON_VERSION_STRING=3.8.5 Consider providing the 'PYTHON2_EXECUTABLE' variable via CMake command line or environment variables Call Stack (most recent call first): cmake/OpenCVDetectPython.cmake:271 (find_python) CMakeLists.txt:607 (include) -- Could NOT find Python2 (missing: Python2_EXECUTABLE Interpreter) Reason given by package: Interpreter: Wrong major version for the interpreter "F:/msys64/mingw64/bin/python.exe" -- Found PythonInterp: f:/Program Files/Python/python.exe (found suitable version "3.8.5", minimum required is "3.2") -- Found PythonLibs: optimized;F:/Program Files/Python/libs/python38.lib;debug;F:/Program Files/Python/libs/python38_d.lib (found suitable exact version "3.8.5") -- Performing Test HAVE_CXX_FP:PRECISE -- Performing Test HAVE_CXX_FP:PRECISE - Success -- Performing Test HAVE_C_FP:PRECISE -- Performing Test HAVE_C_FP:PRECISE - Success -- Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp) -- Performing Test HAVE_CPU_SSE3_SUPPORT - Success -- Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp) -- Performing Test HAVE_CPU_SSSE3_SUPPORT - Success -- Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp) -- Performing Test HAVE_CPU_SSE4_1_SUPPORT - Success -- Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CPU_POPCNT_SUPPORT - Success -- Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CPU_SSE4_2_SUPPORT - Success -- Performing Test HAVE_CXX_ARCH:AVX (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CXX_ARCH:AVX - Success -- Performing Test HAVE_CXX_ARCH:AVX2 (check file: cmake/checks/cpu_avx2.cpp) -- Performing Test HAVE_CXX_ARCH:AVX2 - Success -- Performing Test HAVE_CXX_ARCH:AVX512 (check file: cmake/checks/cpu_avx512.cpp) -- Performing Test HAVE_CXX_ARCH:AVX512 - Success -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX - Success -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Found ZLIB: optimized;G:/lib/install/zlib/lib/zlibstatic.lib;debug;G:/lib/install/zlib/lib/zlibstaticd.lib (found suitable version "1.2.11", minimum required is "1.2.3") -- libjpeg-turbo: VERSION = 2.0.5, BUILD = opencv-4.5.0-dev-libjpeg-turbo -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned long -- Check size of unsigned long - done -- Looking for include file intrin.h -- Looking for include file intrin.h - found -- Looking for assert.h -- Looking for assert.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for io.h -- Looking for io.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for search.h -- Looking for search.h - found -- Looking for string.h -- Looking for string.h - found -- Performing Test C_HAS_inline -- Performing Test C_HAS_inline - Success -- Check size of signed short -- Check size of signed short - done -- Check size of unsigned short -- Check size of unsigned short - done -- Check size of signed int -- Check size of signed int - done -- Check size of unsigned int -- Check size of unsigned int - done -- Check size of signed long -- Check size of signed long - done -- Check size of signed long long -- Check size of signed long long - done -- Check size of unsigned long long -- Check size of unsigned long long - done -- Check size of unsigned char * -- Check size of unsigned char * - done -- Check size of ptrdiff_t -- Check size of ptrdiff_t - done -- Looking for memmove -- Looking for memmove - not found -- Looking for setmode -- Looking for setmode - found -- Looking for strcasecmp -- Looking for strcasecmp - not found -- Looking for strchr -- Looking for strchr - found -- Looking for strrchr -- Looking for strrchr - found -- Looking for strstr -- Looking for strstr - found -- Looking for strtol -- Looking for strtol - found -- Looking for strtol -- Looking for strtol - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for lfind -- Looking for lfind - found -- Performing Test HAVE_SNPRINTF -- Performing Test HAVE_SNPRINTF - Success -- Check if the system is big endian -- Searching 16 bit integer -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Performing Test HAVE_C_STD_C99 -- Performing Test HAVE_C_STD_C99 - Failed -- Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1). OpenJPEG will be built from sources -- OpenJPEG: VERSION = 2.3.1, BUILD = opencv-4.5.0-dev-openjp2-2.3.1 -- Check if the system is big endian -- Searching 16 bit integer -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for stdio.h -- Looking for stdio.h - found -- Looking for math.h -- Looking for math.h - found -- Looking for float.h -- Looking for float.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for ctype.h -- Looking for ctype.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for strings.h -- Looking for strings.h - not found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for unistd.h -- Looking for unistd.h - not found -- Looking for include file malloc.h -- Looking for include file malloc.h - found -- Looking for _aligned_malloc -- Looking for _aligned_malloc - found -- Looking for posix_memalign -- Looking for posix_memalign - not found -- Looking for memalign -- Looking for memalign - not found -- OpenJPEG libraries will be built from sources: libopenjp2 (version "2.3.1") -- Found ZLIB: optimized;G:/lib/install/zlib/lib/zlibstatic.lib;debug;G:/lib/install/zlib/lib/zlibstaticd.lib (found version "1.2.11") -- Found PNG: optimized;G:/lib/install/libpng/lib/libpng16_static.lib;debug;G:/lib/install/libpng/lib/libpng16_staticd.lib (found version "1.6.36.git") -- Looking for G:/lib/install/libpng/include/libpng/png.h -- Looking for G:/lib/install/libpng/include/libpng/png.h - not found -- IPPICV: Download: ippicv_2020_win_intel64_20191018_general.zip -- found Intel IPP (ICV version): 2020.0.0 [2020.0.0 Gold] -- at: G:/Lib/build/opencv/3rdparty/ippicv/ippicv_win/icv -- found Intel IPP Integration Wrappers sources: 2020.0.0 -- at: G:/Lib/build/opencv/3rdparty/ippicv/ippicv_win/iw -- Check size of int -- Check size of int - done -- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off -- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Found Threads: TRUE -- Could NOT find BLAS (missing: BLAS_LIBRARIES) -- LAPACK requires BLAS -- A library with LAPACK API not found. Please specify library location. -- Found JNI: C:/Program Files/Java/jdk1.8.0_152/lib/jawt.lib -- Found Pylint: F:/Program Files/Python/Scripts/pylint.exe -- Found Flake8: F:/Program Files/Python/Scripts/flake8.exe -- Found VTK 9.0.20200702 -- ADE: Download: v0.1.1f.zip -- OpenCV Python: during development append to PYTHONPATH: G:/Lib/build/opencv/python_loader -- FFMPEG: Download: opencv_videoio_ffmpeg.dll -- FFMPEG: Download: opencv_videoio_ffmpeg_64.dll -- FFMPEG: Download: ffmpeg_version.cmake -- Looking for mfapi.h -- Looking for mfapi.h - found -- Looking for d3d11_4.h -- Looking for d3d11_4.h - found -- Caffe: NO -- Protobuf: NO -- Glog: NO -- freetype2: NO -- harfbuzz: NO -- Julia not found. Not compiling Julia Bindings. -- Module opencv_ovis disabled because OGRE3D was not found -- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available. -- Found installed version of gflags: G:/lib/install/gflags/lib/cmake/gflags -- Detected gflags version: 2.2.1 CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (Gflags) does not match the name of the calling package (gflags). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): G:/Lib/install/ceres-solver/CMake/FindGflags.cmake:581 (find_package_handle_standard_args) G:/Lib/install/ceres-solver/CMake/CeresConfig.cmake:256 (find_package) G:/Lib/opencv_contrib/modules/rgbd/CMakeLists.txt:3 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found Gflags: G:/Lib/install/gflags/include -- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available. -- Found installed version of gflags: G:/lib/install/gflags/lib/cmake/gflags -- Detected gflags version: 2.2.1 -- Checking Ceres -- Found installed version of gflags: G:/lib/install/gflags/lib/cmake/gflags -- Detected gflags version: 2.2.1 CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (Gflags) does not match the name of the calling package (gflags). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): G:/Lib/install/ceres-solver/CMake/FindGflags.cmake:581 (find_package_handle_standard_args) G:/Lib/install/ceres-solver/CMake/CeresConfig.cmake:256 (find_package) G:/Lib/opencv_contrib/modules/sfm/CMakeLists.txt:9 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking SFM deps... FALSE -- Module opencv_sfm disabled because the following dependencies are not found: Glog/Gflags -- Tesseract: YES (ver unknown) -- Allocator metrics storage type: 'long long' -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': G:/Lib/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake -- opencv_dnn: filter out cuda4dnn source code -- xfeatures2d/boostdesc: Download: boostdesc_bgm.i -- xfeatures2d/boostdesc: Download: boostdesc_bgm_bi.i -- xfeatures2d/boostdesc: Download: boostdesc_bgm_hd.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_064.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_128.i -- xfeatures2d/boostdesc: Download: boostdesc_binboost_256.i -- xfeatures2d/boostdesc: Download: boostdesc_lbgm.i -- xfeatures2d/vgg: Download: vgg_generated_48.i -- xfeatures2d/vgg: Download: vgg_generated_64.i -- xfeatures2d/vgg: Download: vgg_generated_80.i -- xfeatures2d/vgg: Download: vgg_generated_120.i -- data: Download: face_landmark_model.dat -- Found Doxygen: C:/Program Files/doxygen/bin/doxygen.exe (found version "1.8.11") found components: doxygen dot -- Python BeautifulSoup (bs4) version: 4.9.1 -- SYCL/OpenCL samples are skipped: SYCL SDK is required -- - check configuration of SYCL_DIR/SYCL_ROOT/CMAKE_MODULE_PATH -- - ensure that right compiler is selected from SYCL SDK (e.g, clang++): CMAKE_CXX_COMPILER=C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe -- Pylint: registered 181 targets. Build 'check_pylint' target to run checks ("cmake --build . --target check_pylint" or "make check_pylint") CMake Warning at cmake/OpenCVGenSetupVars.cmake:54 (message): CONFIGURATION IS NOT SUPPORTED: validate setupvars script in install directory Call Stack (most recent call first): CMakeLists.txt:976 (include) -- -- General configuration for OpenCV 4.5.0-dev ===================================== -- Version control: 4.4.0-473-g691c3d1e3c -- -- Extra modules: -- Location (extra): G:/Lib/opencv_contrib/modules -- Version control (extra): 4.1.1-410-gb65b3cc37-dirty -- -- Platform: -- Timestamp: 2020-11-02T18:39:27Z -- Host: Windows 10.0.19041 AMD64 -- CMake: 3.18.4 -- CMake generator: Visual Studio 15 2017 Win64 -- CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/MSBuild/15.0/Bin/MSBuild.exe -- MSVC: 1916 -- -- CPU/HW features: -- Baseline: SSE SSE2 SSE3 -- requested: SSE3 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX -- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX -- SSE4_1 (16 files): + SSSE3 SSE4_1 -- SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2 -- FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX -- AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX -- AVX2 (30 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 -- AVX512_SKX (7 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX -- -- C/C++: -- Built as dynamic libs?: YES -- C++ standard: 11 -- C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe (ver 19.16.27041.0) -- C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP /MD /O2 /Ob2 /DNDEBUG -- C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP /MDd /Zi /Ob0 /Od /RTC1 -- C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe -- C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /MP /MD /O2 /Ob2 /DNDEBUG -- C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /MP /MDd /Zi /Ob0 /Od /RTC1 -- Linker flags (Release): /machine:x64 /INCREMENTAL:NO -- Linker flags (Debug): /machine:x64 /debug /INCREMENTAL -- ccache: NO -- Precompiled headers: YES -- Extra dependencies: opengl32 glu32 -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: alphamat aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dnn_superres dpm face features2d flann fuzzy hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot python3 quality rapid reg saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab viz xfeatures2d ximgproc xobjdetect xphoto -- Disabled: gapi rgbd world -- Disabled by dependency: - -- Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype hdf java js julia matlab ovis python2 sfm -- Applications: tests perf_tests examples apps -- Documentation: doxygen python -- Non-free algorithms: YES -- -- Windows RT support: NO -- -- GUI: -- Win32 UI: YES -- OpenGL support: YES (opengl32 glu32) -- VTK support: YES (ver 9.0.20200702) -- -- Media I/O: -- ZLib: optimized G:/lib/install/zlib/lib/zlibstatic.lib debug G:/lib/install/zlib/lib/zlibstaticd.lib (ver 1.2.11) -- JPEG: build-libjpeg-turbo (ver 2.0.5-62) -- WEBP: build (ver encoder: 0x020f) -- PNG: optimized G:/lib/install/libpng/lib/libpng16_static.lib debug G:/lib/install/libpng/lib/libpng16_staticd.lib (ver 1.6.36) -- TIFF: build (ver 42 - 4.0.10) -- JPEG 2000: build (ver 2.3.1) -- OpenEXR: build (ver 2.3.0) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- PFM: YES -- -- Video I/O: -- DC1394: NO -- FFMPEG: YES (prebuilt binaries) -- avcodec: YES (58.91.100) -- avformat: YES (58.45.100) -- avutil: YES (56.51.100) -- swscale: YES (5.7.100) -- avresample: YES (4.0.0) -- GStreamer: NO -- DirectShow: YES -- Media Foundation: YES -- DXVA: YES -- -- Parallel framework: Concurrency -- -- Other third-party libraries: -- Intel IPP: 2020.0.0 Gold [2020.0.0] -- at: G:/Lib/build/opencv/3rdparty/ippicv/ippicv_win/icv -- Intel IPP IW: sources (2020.0.0) -- at: G:/Lib/build/opencv/3rdparty/ippicv/ippicv_win/iw -- Lapack: NO -- Eigen: YES (ver 3.3.90) -- Custom HAL: NO -- Protobuf: build (3.5.1) -- -- OpenCL: YES (NVD3D11) -- Include path: G:/Lib/opencv/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load -- -- Python 3: -- Interpreter: F:/Program Files/Python/python.exe (ver 3.8.5) -- Libraries: optimized F:/Program Files/Python/libs/python38.lib debug F:/Program Files/Python/libs/python38_d.lib (ver 3.8.5) -- numpy: F:/Program Files/Python/Lib/site-packages/numpy/core/include (ver 1.18.5) -- install path: F:/Program Files/Python/Lib/site-packages/cv2/python-3.8 -- -- Python (for build): F:/Program Files/Python/python.exe -- Pylint: F:/Program Files/Python/Scripts/pylint.exe (ver: 3.8.5, checks: 181) -- Flake8: F:/Program Files/Python/Scripts/flake8.exe (ver: 3.8.3) -- -- Java: -- ant: NO -- JNI: C:/Program Files/Java/jdk1.8.0_152/include C:/Program Files/Java/jdk1.8.0_152/include/win32 C:/Program Files/Java/jdk1.8.0_152/include -- Java wrappers: NO -- Java tests: NO -- -- Install to: G:/Lib/install/opencv -- ----------------------------------------------------------------- -- -- Configuring done