microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.16k stars 6.39k forks source link

[opencv4] build failure #19750

Closed seyeon923 closed 3 years ago

seyeon923 commented 3 years ago

Host Environment

To Reproduce Steps to reproduce the behavior: ./vcpkg install opencv4

Failure logs

-- Found external ninja('1.10.2'). -- Configuring x86-windows -- Building x86-windows-dbg -- Building x86-windows-rel -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst -> msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst... -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst -> msys-mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst... -- Using msys root at C:/Users/user/source/repos/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8 -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libjpeg-turbo_x86-windows/lib/pkgconfig/libjpeg.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libjpeg-turbo_x86-windows/lib/pkgconfig/libturbojpeg.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libjpeg-turbo_x86-windows/debug/lib/pkgconfig/libjpeg.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libjpeg-turbo_x86-windows/debug/lib/pkgconfig/libturbojpeg.pc -- Installing: C:/Users/user/source/repos/vcpkg/packages/libjpeg-turbo_x86-windows/share/libjpeg-turbo/copyright -- Performing post-build validation -- Performing post-build validation done Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\b1\b14adc903cf14c48d685e37a9d7096b4fc6209d81b731f3be339dfff72de9b79.zip Building package libjpeg-turbo[core]:x86-windows... done Installing package libjpeg-turbo[core]:x86-windows... Installing package libjpeg-turbo[core]:x86-windows... done Elapsed time for package libjpeg-turbo:x86-windows: 2.359 min Starting package 2/12: vcpkg-cmake:x64-windows Building package vcpkg-cmake[core]:x64-windows... -- Installing: C:/Users/user/source/repos/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake -- Installing: C:/Users/user/source/repos/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake -- Installing: C:/Users/user/source/repos/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake -- Installing: C:/Users/user/source/repos/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_get_vars.cmake -- Installing: C:/Users/user/source/repos/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/cmake_get_vars -- Installing: C:/Users/user/source/repos/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/cmake_get_vars/CMakeLists.txt -- Installing: C:/Users/user/source/repos/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake -- Installing: C:/Users/user/source/repos/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright -- Performing post-build validation -- Performing post-build validation done Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\be\bee18a167e53109ebf1396393b01bc6f9128d8f75e4e497b90ff342c3498d46c.zip Building package vcpkg-cmake[core]:x64-windows... done Installing package vcpkg-cmake[core]:x64-windows... Installing package vcpkg-cmake[core]:x64-windows... done Elapsed time for package vcpkg-cmake:x64-windows: 642.3 ms Starting package 3/12: vcpkg-cmake-config:x64-windows Building package vcpkg-cmake-config[core]:x64-windows... -- Installing: C:/Users/user/source/repos/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake -- Installing: C:/Users/user/source/repos/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake -- Installing: C:/Users/user/source/repos/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright -- Performing post-build validation -- Performing post-build validation done Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\cf\cfadccb4429fa6c534a97843c88c4dbddf449926aef4c1ae0eb67a00ad6e91c8.zip Building package vcpkg-cmake-config[core]:x64-windows... done Installing package vcpkg-cmake-config[core]:x64-windows... Installing package vcpkg-cmake-config[core]:x64-windows... done Elapsed time for package vcpkg-cmake-config:x64-windows: 587.4 ms Starting package 4/12: liblzma:x86-windows Building package liblzma[core]:x86-windows... -- Downloading https://github.com/xz-mirror/xz/archive/v5.2.5.tar.gz -> xz-mirror-xz-v5.2.5.tar.gz... -- Extracting source C:/Users/user/source/repos/vcpkg/downloads/xz-mirror-xz-v5.2.5.tar.gz -- Applying patch enable-uwp-builds.patch -- Applying patch fix_config_include.patch -- Applying patch win_output_name.patch -- Applying patch add_support_ios.patch -- Using source at C:/Users/user/source/repos/vcpkg/buildtrees/liblzma/src/v5.2.5-2c5068f7fe.clean -- Found external ninja('1.10.2'). -- Configuring x86-windows -- Building x86-windows-dbg -- Building x86-windows-rel -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst -> msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst... -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst -> msys-mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst... -- Using msys root at C:/Users/user/source/repos/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8 -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/liblzma_x86-windows/lib/pkgconfig/liblzma.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/liblzma_x86-windows/debug/lib/pkgconfig/liblzma.pc -- Installing: C:/Users/user/source/repos/vcpkg/packages/liblzma_x86-windows/share/liblzma/copyright -- Performing post-build validation -- Performing post-build validation done Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\c2\c23a0956f271900888083f4f807ea88eecc2deeab7e6708d904744538852e693.zip Building package liblzma[core]:x86-windows... done Installing package liblzma[core]:x86-windows... Installing package liblzma[core]:x86-windows... done Elapsed time for package liblzma:x86-windows: 55.29 s Starting package 5/12: zlib:x86-windows Building package zlib[core]:x86-windows... -- Downloading http://www.zlib.net/zlib-1.2.11.tar.gz;https://downloads.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz -> zlib1211.tar.gz... -- Extracting source C:/Users/user/source/repos/vcpkg/downloads/zlib1211.tar.gz -- Applying patch cmake_dont_build_more_thanneeded.patch -- Applying patch 0001-Prevent-invalid-inclusions-when-HAVE-is-set-to-0.patch -- Applying patch add_debug_postfix_on_mingw.patch -- Applying patch 0002-android-build-mingw.patch -- Using source at C:/Users/user/source/repos/vcpkg/buildtrees/zlib/src/1.2.11-e9a093319e.clean -- Found external ninja('1.10.2'). -- Configuring x86-windows -- Building x86-windows-dbg -- Building x86-windows-rel -- Installing: C:/Users/user/source/repos/vcpkg/packages/zlib_x86-windows/share/zlib/vcpkg-cmake-wrapper.cmake -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst -> msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst... -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst -> msys-mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst... -- Using msys root at C:/Users/user/source/repos/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8 -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/zlib_x86-windows/lib/pkgconfig/zlib.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/zlib_x86-windows/debug/lib/pkgconfig/zlib.pc -- Installing: C:/Users/user/source/repos/vcpkg/packages/zlib_x86-windows/share/zlib/copyright -- Performing post-build validation -- Performing post-build validation done Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\f9\f93940bf2cd0ef0a76754ef745b2139740e0a022fd1d67a6f05fe2d00e7a288c.zip Building package zlib[core]:x86-windows... done Installing package zlib[core]:x86-windows... Installing package zlib[core]:x86-windows... done Elapsed time for package zlib:x86-windows: 37.82 s Starting package 6/12: libpng:x86-windows Building package libpng[core]:x86-windows... -- Downloading https://github.com/glennrp/libpng/archive/v1.6.37.tar.gz -> glennrp-libpng-v1.6.37.tar.gz... -- Extracting source C:/Users/user/source/repos/vcpkg/downloads/glennrp-libpng-v1.6.37.tar.gz -- Applying patch use_abort.patch -- Applying patch cmake.patch -- Applying patch pkgconfig.patch -- Applying patch pkgconfig.2.patch -- Applying patch fix-export-targets.patch -- Applying patch macos-arch-fix.patch -- Using source at C:/Users/user/source/repos/vcpkg/buildtrees/libpng/src/v1.6.37-05658d6f1a.clean -- Found external ninja('1.10.2'). -- Configuring x86-windows CMake Warning at installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:472 (message): The following variables are not used in CMakeLists.txt:

  PNG_ARM_NEON

Please recheck them and remove the unnecessary options from the vcpkg_cmake_configure call.

If these options should still be passed for whatever reason, please use the MAYBE_UNUSED_VARIABLES argument. Call Stack (most recent call first): ports/libpng/portfile.cmake:71 (vcpkg_cmake_configure) scripts/ports.cmake:140 (include)

-- Building x86-windows-dbg -- Building x86-windows-rel -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst -> msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst... -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst -> msys-mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst... -- Using msys root at C:/Users/user/source/repos/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8 -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libpng_x86-windows/lib/pkgconfig/libpng.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libpng_x86-windows/lib/pkgconfig/libpng16.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libpng_x86-windows/debug/lib/pkgconfig/libpng.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libpng_x86-windows/debug/lib/pkgconfig/libpng16.pc -- Installing: C:/Users/user/source/repos/vcpkg/packages/libpng_x86-windows/share/libpng/copyright -- Performing post-build validation -- Performing post-build validation done Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\65\6507f4b3bca15cb7488c4b173b69715ce76cfb101d63f7684fe11854dbab6b39.zip Building package libpng[core]:x86-windows... done Installing package libpng[core]:x86-windows... Installing package libpng[core]:x86-windows... done Elapsed time for package libpng:x86-windows: 44.99 s Starting package 7/12: libwebp:x86-windows Building package libwebp[core,nearlossless,simd,unicode]:x86-windows... -- Downloading https://github.com/webmproject/libwebp/archive/d7844e9762b61c9638c263657bd49e1690184832.tar.gz -> webmproject-libwebp-d7844e9762b61c9638c263657bd49e1690184832.tar.gz... -- Extracting source C:/Users/user/source/repos/vcpkg/downloads/webmproject-libwebp-d7844e9762b61c9638c263657bd49e1690184832.tar.gz -- Applying patch 0001-build.patch -- Applying patch 0002-cmake-config-add-backwards-compatibility.patch -- Applying patch 0003-always-mux.patch -- Applying patch 0004-add-missing-linked-library.patch -- Applying patch 0006-fix-dependecies-platform.patch -- Applying patch 0007-fix-arm-build.patch -- Applying patch 0008-sdl.patch -- Applying patch 0009-glut.patch -- Using source at C:/Users/user/source/repos/vcpkg/buildtrees/libwebp/src/1690184832-82bbc619db.clean -- Found external ninja('1.10.2'). -- Configuring x86-windows -- Building x86-windows-dbg -- Building x86-windows-rel -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst -> msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst... -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst -> msys-mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst... -- Using msys root at C:/Users/user/source/repos/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8 -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libwebp_x86-windows/lib/pkgconfig/libwebp.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libwebp_x86-windows/lib/pkgconfig/libwebpdecoder.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libwebp_x86-windows/lib/pkgconfig/libwebpdemux.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libwebp_x86-windows/lib/pkgconfig/libwebpmux.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libwebp_x86-windows/debug/lib/pkgconfig/libwebp.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libwebp_x86-windows/debug/lib/pkgconfig/libwebpdecoder.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libwebp_x86-windows/debug/lib/pkgconfig/libwebpdemux.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/libwebp_x86-windows/debug/lib/pkgconfig/libwebpmux.pc -- Installing: C:/Users/user/source/repos/vcpkg/packages/libwebp_x86-windows/share/libwebp/copyright -- Performing post-build validation -- Performing post-build validation done Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\29\2934a66fb8fc9a3e49c7df8959f822b79c075ae42476c15906db0eb93105585e.zip Building package libwebp[core,nearlossless,simd,unicode]:x86-windows... done Installing package libwebp[core,nearlossless,simd,unicode]:x86-windows... Installing package libwebp[core,nearlossless,simd,unicode]:x86-windows... done Elapsed time for package libwebp:x86-windows: 1.408 min Starting package 8/12: protobuf:x64-windows Building package protobuf[core]:x64-windows... -- Downloading https://github.com/protocolbuffers/protobuf/archive/436bd7880e458532901c58f4d9d1ea23fa7edd52.tar.gz -> protocolbuffers-protobuf-436bd7880e458532901c58f4d9d1ea23fa7edd52.tar.gz... -- Extracting source C:/Users/user/source/repos/vcpkg/downloads/protocolbuffers-protobuf-436bd7880e458532901c58f4d9d1ea23fa7edd52.tar.gz -- Applying patch fix-static-build.patch -- Applying patch fix-default-proto-file-path.patch -- Applying patch port_def.patch -- Using source at C:/Users/user/source/repos/vcpkg/buildtrees/protobuf/src/23fa7edd52-d12711f482.clean -- Found external ninja('1.10.2'). -- Configuring x64-windows -- Building x64-windows-dbg -- Building x64-windows-rel -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst -> msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst... -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst -> msys-mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst... -- Using msys root at C:/Users/user/source/repos/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8 -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/protobuf_x64-windows/lib/pkgconfig/protobuf-lite.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/protobuf_x64-windows/lib/pkgconfig/protobuf.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/protobuf_x64-windows/debug/lib/pkgconfig/protobuf-lite.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/protobuf_x64-windows/debug/lib/pkgconfig/protobuf.pc -- Installing: C:/Users/user/source/repos/vcpkg/packages/protobuf_x64-windows/share/protobuf/copyright -- Performing post-build validation -- Performing post-build validation done Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\f0\f0e2a255d442a51f111208e697e9fcfe6b5f29dc05871efff8253f8348301968.zip Building package protobuf[core]:x64-windows... done Installing package protobuf[core]:x64-windows... Installing package protobuf[core]:x64-windows... done Elapsed time for package protobuf:x64-windows: 3.65 min Starting package 9/12: protobuf:x86-windows Building package protobuf[core]:x86-windows... -- Downloading https://github.com/protocolbuffers/protobuf/archive/436bd7880e458532901c58f4d9d1ea23fa7edd52.tar.gz -> protocolbuffers-protobuf-436bd7880e458532901c58f4d9d1ea23fa7edd52.tar.gz... -- Cleaning sources at C:/Users/user/source/repos/vcpkg/buildtrees/protobuf/src/23fa7edd52-d12711f482.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source C:/Users/user/source/repos/vcpkg/downloads/protocolbuffers-protobuf-436bd7880e458532901c58f4d9d1ea23fa7edd52.tar.gz -- Applying patch fix-static-build.patch -- Applying patch fix-default-proto-file-path.patch -- Applying patch port_def.patch -- Using source at C:/Users/user/source/repos/vcpkg/buildtrees/protobuf/src/23fa7edd52-d12711f482.clean -- Found external ninja('1.10.2'). -- Configuring x86-windows -- Building x86-windows-dbg -- Building x86-windows-rel -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst -> msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst... -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst -> msys-mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst... -- Using msys root at C:/Users/user/source/repos/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8 -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/protobuf_x86-windows/lib/pkgconfig/protobuf-lite.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/protobuf_x86-windows/lib/pkgconfig/protobuf.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/protobuf_x86-windows/debug/lib/pkgconfig/protobuf-lite.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/protobuf_x86-windows/debug/lib/pkgconfig/protobuf.pc -- Installing: C:/Users/user/source/repos/vcpkg/packages/protobuf_x86-windows/share/protobuf/copyright -- Performing post-build validation -- Performing post-build validation done Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\64\64ad2a5036886d98317095f34ad50d788755633ddf63a928c410e2f3ad2c4465.zip Building package protobuf[core]:x86-windows... done Installing package protobuf[core]:x86-windows... Installing package protobuf[core]:x86-windows... done Elapsed time for package protobuf:x86-windows: 3.607 min Starting package 10/12: quirc:x86-windows Building package quirc[core]:x86-windows... -- Note: quirc only supports static library linkage. Building static library. -- Downloading https://github.com/dlbeer/quirc/archive/7e7ab596e4d0988faf1c12ae89c354b114181c40.tar.gz -> dlbeer-quirc-7e7ab596e4d0988faf1c12ae89c354b114181c40.tar.gz... -- Extracting source C:/Users/user/source/repos/vcpkg/downloads/dlbeer-quirc-7e7ab596e4d0988faf1c12ae89c354b114181c40.tar.gz -- Using source at C:/Users/user/source/repos/vcpkg/buildtrees/quirc/src/b114181c40-f1e71e0d5b.clean -- Found external ninja('1.10.2'). -- Configuring x86-windows -- Building x86-windows-dbg -- Building x86-windows-rel -- Installing: C:/Users/user/source/repos/vcpkg/packages/quirc_x86-windows/share/quirc/copyright/LICENSE -- Performing post-build validation -- Performing post-build validation done Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\7c\7c112ea9e614f24143e9de6092205e8588ec0876519fbdb1fb6446a5a0b39a20.zip Building package quirc[core]:x86-windows... done Installing package quirc[core]:x86-windows... Installing package quirc[core]:x86-windows... done Elapsed time for package quirc:x86-windows: 29 s Starting package 11/12: tiff:x86-windows Building package tiff[core,jpeg,lzma,zip]:x86-windows... -- Downloading https://download.osgeo.org/libtiff/tiff-4.3.0.tar.gz -> tiff-4.3.0.tar.gz... -- Extracting source C:/Users/user/source/repos/vcpkg/downloads/tiff-4.3.0.tar.gz -- Applying patch cmakelists.patch -- Applying patch fix-pkgconfig.patch -- Applying patch FindCMath.patch -- Using source at C:/Users/user/source/repos/vcpkg/buildtrees/tiff/src/4.3.0-84bf77f2fa.clean -- Found external ninja('1.10.2'). -- Configuring x86-windows -- Building x86-windows-dbg -- Building x86-windows-rel -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst -> msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst... -- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst -> msys-mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst... -- Using msys root at C:/Users/user/source/repos/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8 -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/tiff_x86-windows/lib/pkgconfig/libtiff-4.pc -- Fixing pkgconfig file: C:/Users/user/source/repos/vcpkg/packages/tiff_x86-windows/debug/lib/pkgconfig/libtiff-4.pc -- Installing: C:/Users/user/source/repos/vcpkg/packages/tiff_x86-windows/share/tiff/copyright -- Performing post-build validation -- Performing post-build validation done Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\22\22f13bcd0c12c14ed984849d956d64f86f67c4bc2f42377d7fd73df70501da13.zip Building package tiff[core,jpeg,lzma,zip]:x86-windows... done Installing package tiff[core,jpeg,lzma,zip]:x86-windows... Installing package tiff[core,jpeg,lzma,zip]:x86-windows... done Elapsed time for package tiff:x86-windows: 1.396 min Starting package 12/12: opencv4:x86-windows Building package opencv4[core,dnn,jpeg,png,quirc,tiff,webp]:x86-windows... -- Downloading https://github.com/opencv/opencv/archive/4.5.3.tar.gz -> opencv-opencv-4.5.3.tar.gz... -- Extracting source C:/Users/user/source/repos/vcpkg/downloads/opencv-opencv-4.5.3.tar.gz -- Applying patch 0001-disable-downloading.patch -- Applying patch 0002-install-options.patch -- Applying patch 0003-force-package-requirements.patch -- Applying patch 0004-fix-policy-CMP0057.patch -- Applying patch 0005-fix-eigen.patch -- Applying patch 0006-fix-uwp.patch -- Applying patch 0008-devendor-quirc.patch -- Applying patch 0010-fix-uwp-tiff-imgcodecs.patch -- Using source at C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/src/4.5.3-1db9726377.clean -- Downloading https://github.com/tiny-dnn/tiny-dnn/archive/v1.0.0a3.tar.gz -> opencv-cache/tiny_dnn/adb1c512e09ca2c7a6faef36f9c53e59-v1.0.0a3.tar.gz... -- Found external ninja('1.10.2'). -- Configuring x86-windows CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message): Command failed: ninja -v Working Directory: C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/x86-windows-rel/vcpkg-parallel-configure Error code: 1 See logs for more information: C:\Users\user\source\repos\vcpkg\buildtrees\opencv4\config-x86-windows-out.log

Call Stack (most recent call first): installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:398 (vcpkg_execute_required_process) ports/opencv4/portfile.cmake:313 (vcpkg_cmake_configure) scripts/ports.cmake:140 (include)

Error: Building package opencv4:x86-windows failed with: BUILD_FAILED Please ensure you're using the latest portfiles with .\vcpkg update, then submit an issue at https://github.com/Microsoft/vcpkg/issues including: Package: opencv4:x86-windows Vcpkg version: 2021-08-12-85ab112d5ee102bc6eac8cdbbfdd173a71374e04

Additionally, attach any relevant sections from the log files above.

- config-x86-windows-out.log

[1/2] "C:/Users/user/source/repos/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" -S "C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/src/4.5.3-1db9726377.clean" -B .. "-DOPENCV_SKIP_SYSTEM_PROCESSOR_DETECTION=TRUE" "-DAARCH64=" "-DX86_64=" "-DX86=1" "-DARM=" "-DOpenCV_INSTALL_BINARIES_PREFIX=" "-DOPENCV_BIN_INSTALL_PATH=bin" "-DOPENCV_INCLUDE_INSTALL_PATH=include" "-DOPENCV_LIB_INSTALL_PATH=lib" "-DOPENCV_3P_LIB_INSTALL_PATH=lib" "-DOPENCV_CONFIG_INSTALL_PATH=share/opencv" "-DINSTALL_TO_MANGLED_PATHS=OFF" "-DOPENCV_FFMPEG_USE_FIND_PACKAGE=FFMPEG" "-DOPENCV_FFMPEG_SKIP_BUILD_CHECK=TRUE" "-DCMAKE_DEBUG_POSTFIX=d" "-DOPENCV_DLLVERSION=" "-DOPENCV_DEBUG_POSTFIX=d" "-DOPENCV_GENERATE_SETUPVARS=OFF" "-DBUILD_DOCS=OFF" "-DBUILD_EXAMPLES=OFF" "-Dade_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows/share/ade" "-DBUILD_JASPER=OFF" "-DBUILD_JPEG=OFF" "-DBUILD_OPENEXR=OFF" "-DBUILD_PNG=OFF" "-DBUILD_TIFF=OFF" "-DBUILD_WEBP=OFF" "-DBUILD_ZLIB=OFF" "-DBUILD_TBB=OFF" "-DBUILD_IPP_IW=OFF" "-DBUILD_ITT=OFF" "-DBUILD_PROTOBUF=OFF" "-DBUILD_opencv_apps=OFF" "-DBUILD_opencv_java=OFF" "-DBUILD_opencv_js=OFF" "-DBUILD_ANDROID_PROJECT=OFF" "-DBUILD_ANDROID_EXAMPLES=OFF" "-DBUILD_PACKAGE=OFF" "-DBUILD_PERF_TESTS=OFF" "-DBUILD_TESTS=OFF" "-DBUILD_WITH_DEBUG_INFO=ON" "-DBUILD_WITH_STATIC_CRT=0" "-DBUILD_JAVA=OFF" "-DCURRENT_INSTALLED_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows" "-DPROTOBUF_UPDATE_FILES=ON" "-DUPDATE_PROTO_FILES=ON" "-DENABLE_PYLINT=OFF" "-DENABLE_FLAKE8=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_JNI=ON" "-DENABLE_CXX11=ON" "-DOPENCV_DOWNLOAD_PATH=C:/Users/user/source/repos/vcpkg/downloads/opencv-cache" "-DOPENCV_OTHER_INSTALL_PATH=share/opencv" "-DWITH_ADE=OFF" "-DWITH_CONTRIB=OFF" "-DWITH_CUBLAS=OFF" "-DWITH_CUDA=OFF" "-DWITH_CUDNN=OFF" "-DWITH_EIGEN=OFF" "-DWITH_FFMPEG=OFF" "-DWITH_GDCM=OFF" "-DWITH_HALIDE=OFF" "-DWITH_JASPER=OFF" "-DWITH_JPEG=ON" "-DWITH_LAPACK=OFF" "-DOPENCV_ENABLE_NONFREE=OFF" "-DWITH_OPENEXR=OFF" "-DWITH_OPENGL=OFF" "-DWITH_PNG=ON" "-DWITH_QT=OFF" "-DWITH_QUIRC=ON" "-DBUILD_opencv_sfm=OFF" "-DWITH_TIFF=ON" "-DWITH_VTK=OFF" "-DWITH_WEBP=ON" "-DBUILD_opencv_world=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Halide=ON" "-DHALIDE_ROOT_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows" "-DWITH_GTK=OFF" "-DWITH_IPP=OFF" "-DWITH_MATLAB=OFF" "-DWITH_MSMF=ON" "-DWITH_OPENMP=OFF" "-DWITH_PROTOBUF=ON" "-DWITH_OPENCLAMDBLAS=OFF" "-DWITH_TBB=OFF" "-DWITH_OPENJPEG=OFF" "-DBUILD_opencv_ovis=OFF" "-DBUILD_opencv_dnn=ON" "-DBUILD_opencv_quality=OFF" "-DBUILD_opencv_gapi=ON" "-DBUILD_opencv_rgbd=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/user/source/repos/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/user/source/repos/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/user/source/repos/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/user/source/repos/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DISABLE_SOURCE_CHANGES=ON" -G "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/Users/user/source/repos/vcpkg/packages/opencv4_x86-windows" FAILED: ../CMakeCache.txt "C:/Users/user/source/repos/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" -S "C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/src/4.5.3-1db9726377.clean" -B .. "-DOPENCV_SKIP_SYSTEM_PROCESSOR_DETECTION=TRUE" "-DAARCH64=" "-DX86_64=" "-DX86=1" "-DARM=" "-DOpenCV_INSTALL_BINARIES_PREFIX=" "-DOPENCV_BIN_INSTALL_PATH=bin" "-DOPENCV_INCLUDE_INSTALL_PATH=include" "-DOPENCV_LIB_INSTALL_PATH=lib" "-DOPENCV_3P_LIB_INSTALL_PATH=lib" "-DOPENCV_CONFIG_INSTALL_PATH=share/opencv" "-DINSTALL_TO_MANGLED_PATHS=OFF" "-DOPENCV_FFMPEG_USE_FIND_PACKAGE=FFMPEG" "-DOPENCV_FFMPEG_SKIP_BUILD_CHECK=TRUE" "-DCMAKE_DEBUG_POSTFIX=d" "-DOPENCV_DLLVERSION=" "-DOPENCV_DEBUG_POSTFIX=d" "-DOPENCV_GENERATE_SETUPVARS=OFF" "-DBUILD_DOCS=OFF" "-DBUILD_EXAMPLES=OFF" "-Dade_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows/share/ade" "-DBUILD_JASPER=OFF" "-DBUILD_JPEG=OFF" "-DBUILD_OPENEXR=OFF" "-DBUILD_PNG=OFF" "-DBUILD_TIFF=OFF" "-DBUILD_WEBP=OFF" "-DBUILD_ZLIB=OFF" "-DBUILD_TBB=OFF" "-DBUILD_IPP_IW=OFF" "-DBUILD_ITT=OFF" "-DBUILD_PROTOBUF=OFF" "-DBUILD_opencv_apps=OFF" "-DBUILD_opencv_java=OFF" "-DBUILD_opencv_js=OFF" "-DBUILD_ANDROID_PROJECT=OFF" "-DBUILD_ANDROID_EXAMPLES=OFF" "-DBUILD_PACKAGE=OFF" "-DBUILD_PERF_TESTS=OFF" "-DBUILD_TESTS=OFF" "-DBUILD_WITH_DEBUG_INFO=ON" "-DBUILD_WITH_STATIC_CRT=0" "-DBUILD_JAVA=OFF" "-DCURRENT_INSTALLED_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows" "-DPROTOBUF_UPDATE_FILES=ON" "-DUPDATE_PROTO_FILES=ON" "-DENABLE_PYLINT=OFF" "-DENABLE_FLAKE8=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_JNI=ON" "-DENABLE_CXX11=ON" "-DOPENCV_DOWNLOAD_PATH=C:/Users/user/source/repos/vcpkg/downloads/opencv-cache" "-DOPENCV_OTHER_INSTALL_PATH=share/opencv" "-DWITH_ADE=OFF" "-DWITH_CONTRIB=OFF" "-DWITH_CUBLAS=OFF" "-DWITH_CUDA=OFF" "-DWITH_CUDNN=OFF" "-DWITH_EIGEN=OFF" "-DWITH_FFMPEG=OFF" "-DWITH_GDCM=OFF" "-DWITH_HALIDE=OFF" "-DWITH_JASPER=OFF" "-DWITH_JPEG=ON" "-DWITH_LAPACK=OFF" "-DOPENCV_ENABLE_NONFREE=OFF" "-DWITH_OPENEXR=OFF" "-DWITH_OPENGL=OFF" "-DWITH_PNG=ON" "-DWITH_QT=OFF" "-DWITH_QUIRC=ON" "-DBUILD_opencv_sfm=OFF" "-DWITH_TIFF=ON" "-DWITH_VTK=OFF" "-DWITH_WEBP=ON" "-DBUILD_opencv_world=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Halide=ON" "-DHALIDE_ROOT_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows" "-DWITH_GTK=OFF" "-DWITH_IPP=OFF" "-DWITH_MATLAB=OFF" "-DWITH_MSMF=ON" "-DWITH_OPENMP=OFF" "-DWITH_PROTOBUF=ON" "-DWITH_OPENCLAMDBLAS=OFF" "-DWITH_TBB=OFF" "-DWITH_OPENJPEG=OFF" "-DBUILD_opencv_ovis=OFF" "-DBUILD_opencv_dnn=ON" "-DBUILD_opencv_quality=OFF" "-DBUILD_opencv_gapi=ON" "-DBUILD_opencv_rgbd=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/user/source/repos/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/user/source/repos/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/user/source/repos/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/user/source/repos/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DISABLE_SOURCE_CHANGES=ON" -G "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/Users/user/source/repos/vcpkg/packages/opencv4_x86-windows" -- The CXX compiler identification is MSVC 19.29.30133.0 -- The C compiler identification is MSVC 19.29.30133.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/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/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detected processor: AMD64 -- Performing Test HAVE_CXX_FP:PRECISE -- Performing Test HAVE_CXX_FP:PRECISE - Failed -- Performing Test HAVE_C_FP:PRECISE -- Performing Test HAVE_C_FP:PRECISE - Failed -- Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp) -- Performing Test HAVE_CPU_SSE3_SUPPORT - Failed -- SSE3 is not supported by C++ compiler -- Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp) -- Performing Test HAVE_CPU_SSSE3_SUPPORT - Failed -- SSSE3 is not supported by C++ compiler -- Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp) -- Performing Test HAVE_CPU_SSE4_1_SUPPORT - Failed -- SSE4_1 is not supported by C++ compiler -- Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CPU_POPCNT_SUPPORT - Failed -- POPCNT is not supported by C++ compiler -- Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CPU_SSE4_2_SUPPORT - Failed -- SSE4_2 is not supported by C++ compiler -- Performing Test HAVE_CXX_ARCH:AVX (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CXX_ARCH:AVX - Success -- Dispatch optimization SSE4_1 is not available, skipped -- Dispatch optimization SSE4_2 is not available, skipped -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Failed CMake Error at cmake/OpenCVCompilerOptimizations.cmake:593 (message): Compiler doesn't support baseline optimization flags: /arch:SSE /arch:SSE2 Call Stack (most recent call first): cmake/OpenCVCompilerOptions.cmake:319 (ocv_compiler_optimization_options) CMakeLists.txt:623 (include)

-- Configuring incomplete, errors occurred! See also "C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/x86-windows-rel/CMakeFiles/CMakeOutput.log". See also "C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/x86-windows-rel/CMakeFiles/CMakeError.log". [2/2] "C:/Users/user/source/repos/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" -S "C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/src/4.5.3-1db9726377.clean" -B "../../x86-windows-dbg" "-DOPENCV_SKIP_SYSTEM_PROCESSOR_DETECTION=TRUE" "-DAARCH64=" "-DX86_64=" "-DX86=1" "-DARM=" "-DOpenCV_INSTALL_BINARIES_PREFIX=" "-DOPENCV_BIN_INSTALL_PATH=bin" "-DOPENCV_INCLUDE_INSTALL_PATH=include" "-DOPENCV_LIB_INSTALL_PATH=lib" "-DOPENCV_3P_LIB_INSTALL_PATH=lib" "-DOPENCV_CONFIG_INSTALL_PATH=share/opencv" "-DINSTALL_TO_MANGLED_PATHS=OFF" "-DOPENCV_FFMPEG_USE_FIND_PACKAGE=FFMPEG" "-DOPENCV_FFMPEG_SKIP_BUILD_CHECK=TRUE" "-DCMAKE_DEBUG_POSTFIX=d" "-DOPENCV_DLLVERSION=" "-DOPENCV_DEBUG_POSTFIX=d" "-DOPENCV_GENERATE_SETUPVARS=OFF" "-DBUILD_DOCS=OFF" "-DBUILD_EXAMPLES=OFF" "-Dade_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows/share/ade" "-DBUILD_JASPER=OFF" "-DBUILD_JPEG=OFF" "-DBUILD_OPENEXR=OFF" "-DBUILD_PNG=OFF" "-DBUILD_TIFF=OFF" "-DBUILD_WEBP=OFF" "-DBUILD_ZLIB=OFF" "-DBUILD_TBB=OFF" "-DBUILD_IPP_IW=OFF" "-DBUILD_ITT=OFF" "-DBUILD_PROTOBUF=OFF" "-DBUILD_opencv_apps=OFF" "-DBUILD_opencv_java=OFF" "-DBUILD_opencv_js=OFF" "-DBUILD_ANDROID_PROJECT=OFF" "-DBUILD_ANDROID_EXAMPLES=OFF" "-DBUILD_PACKAGE=OFF" "-DBUILD_PERF_TESTS=OFF" "-DBUILD_TESTS=OFF" "-DBUILD_WITH_DEBUG_INFO=ON" "-DBUILD_WITH_STATIC_CRT=0" "-DBUILD_JAVA=OFF" "-DCURRENT_INSTALLED_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows" "-DPROTOBUF_UPDATE_FILES=ON" "-DUPDATE_PROTO_FILES=ON" "-DENABLE_PYLINT=OFF" "-DENABLE_FLAKE8=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_JNI=ON" "-DENABLE_CXX11=ON" "-DOPENCV_DOWNLOAD_PATH=C:/Users/user/source/repos/vcpkg/downloads/opencv-cache" "-DOPENCV_OTHER_INSTALL_PATH=share/opencv" "-DWITH_ADE=OFF" "-DWITH_CONTRIB=OFF" "-DWITH_CUBLAS=OFF" "-DWITH_CUDA=OFF" "-DWITH_CUDNN=OFF" "-DWITH_EIGEN=OFF" "-DWITH_FFMPEG=OFF" "-DWITH_GDCM=OFF" "-DWITH_HALIDE=OFF" "-DWITH_JASPER=OFF" "-DWITH_JPEG=ON" "-DWITH_LAPACK=OFF" "-DOPENCV_ENABLE_NONFREE=OFF" "-DWITH_OPENEXR=OFF" "-DWITH_OPENGL=OFF" "-DWITH_PNG=ON" "-DWITH_QT=OFF" "-DWITH_QUIRC=ON" "-DBUILD_opencv_sfm=OFF" "-DWITH_TIFF=ON" "-DWITH_VTK=OFF" "-DWITH_WEBP=ON" "-DBUILD_opencv_world=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Halide=ON" "-DHALIDE_ROOT_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows" "-DWITH_GTK=OFF" "-DWITH_IPP=OFF" "-DWITH_MATLAB=OFF" "-DWITH_MSMF=ON" "-DWITH_OPENMP=OFF" "-DWITH_PROTOBUF=ON" "-DWITH_OPENCLAMDBLAS=OFF" "-DWITH_TBB=OFF" "-DWITH_OPENJPEG=OFF" "-DBUILD_opencv_ovis=OFF" "-DBUILD_opencv_dnn=ON" "-DBUILD_opencv_quality=OFF" "-DBUILD_opencv_gapi=ON" "-DBUILD_opencv_rgbd=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/user/source/repos/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/user/source/repos/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/user/source/repos/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/user/source/repos/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DISABLE_SOURCE_CHANGES=ON" -G "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/Users/user/source/repos/vcpkg/packages/opencv4_x86-windows/debug" -- The CXX compiler identification is MSVC 19.29.30133.0 -- The C compiler identification is MSVC 19.29.30133.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/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/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detected processor: AMD64 -- 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_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 -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for _aligned_malloc -- Looking for _aligned_malloc - found CMake Warning (dev) at C:/Users/user/source/repos/vcpkg/installed/x86-windows/share/zlib/vcpkg-cmake-wrapper.cmake:13 (_find_package): Policy CMP0074 is not set: find_package uses _ROOT variables. Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CMake variable ZLIB_ROOT is set to:

C:/Users/user/source/repos/vcpkg/installed/x86-windows

For compatibility, CMake is ignoring the variable. Call Stack (most recent call first): C:/Users/user/source/repos/vcpkg/scripts/buildsystems/vcpkg.cmake:738 (include) cmake/OpenCVFindLibsGrfmt.cmake:14 (find_package) CMakeLists.txt:717 (include) This warning is for project developers. Use -Wno-dev to suppress it.

-- Found ZLIB: optimized;C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/zlib.lib;debug;C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/zlibd.lib (found suitable version "1.2.11", minimum required is "1.2.3") -- Found JPEG: optimized;C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/jpeg.lib;debug;C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/jpegd.lib (found version "62") -- Found TIFF: optimized;C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/tiff.lib;debug;C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/tiffd.lib (found version "4.3.0")
-- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE
-- Found ZLIB: optimized;C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/zlib.lib;debug;C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/zlibd.lib (found version "1.2.11") -- Found PNG: optimized;C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/libpng16.lib;debug;C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/libpng16d.lib (found version "1.6.37") -- Looking for C:/Users/user/source/repos/vcpkg/installed/x86-windows/include/libpng/png.h -- Looking for C:/Users/user/source/repos/vcpkg/installed/x86-windows/include/libpng/png.h - not found -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- OpenCV Python: during development append to PYTHONPATH: C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/x86-windows-dbg/python_loader -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Looking for mfapi.h -- Looking for mfapi.h - found -- Looking for d3d11_4.h -- Looking for d3d11_4.h - found -- Allocator metrics storage type: 'long long' -- Excluding from source files list: modules/imgproc/src/imgwarp.avx2.cpp -- Excluding from source files list: modules/imgproc/src/resize.avx2.cpp -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/src/4.5.3-1db9726377.clean/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake -- opencv_dnn: filter out cuda4dnn source code -- Excluding from source files list: /modules/dnn/layers/layers_common.avx2.cpp -- Excluding from source files list: /modules/dnn/layers/layers_common.avx512_skx.cpp -- Excluding from source files list: modules/features2d/src/fast.avx2.cpp -- highgui: using builtin backend: WIN32UI -- -- General configuration for OpenCV 4.5.3 ===================================== -- Version control: unknown -- -- Platform: -- Timestamp: 2021-08-26T02:08:43Z -- Host: Windows 10.0.18363 AMD64 -- CMake: 3.21.1 -- CMake generator: Ninja -- CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe -- MSVC: 1929 -- Configuration: Debug -- -- CPU/HW features: -- Baseline: SSE SSE2 -- requested: SSE2 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX -- requested: SSE4_1 SSE4_2 AVX FP16 -- SSE4_1 (14 files): + SSE3 SSSE3 SSE4_1 -- SSE4_2 (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 -- FP16 (0 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX -- AVX (4 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 AVX -- -- C/C++: -- Built as dynamic libs?: YES -- C++ standard: 11 -- C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe (ver 19.29.30133.0) -- C++ flags (Release): /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MD /O2 /Oi /Gy /DNDEBUG /Z7
-- C++ flags (Debug): /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1
-- C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe -- C flags (Release): /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /arch:SSE /arch:SSE2 /MD /O2 /Oi /Gy /DNDEBUG /Z7
-- C flags (Debug): /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /arch:SSE /arch:SSE2 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1
-- Linker flags (Release): /machine:X86 /nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF /debug -- Linker flags (Debug): /machine:X86 /nologo /debug /INCREMENTAL -- ccache: NO -- Precompiled headers: NO -- Extra dependencies: -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: calib3d core dnn features2d flann highgui imgcodecs imgproc ml objdetect photo stitching video videoio -- Disabled: world -- Disabled by dependency: - -- Unavailable: gapi java python2 python3 ts -- Applications: - -- Documentation: NO -- Non-free algorithms: NO -- -- Windows RT support: NO -- -- GUI: -- Win32 UI: YES -- -- Media I/O: -- ZLib: optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/zlib.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/zlibd.lib (ver 1.2.11) -- JPEG: optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/jpeg.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/jpegd.lib (ver 62) -- WEBP: optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/webp.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/webpd.lib (ver 1.1.0) -- PNG: optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/libpng16.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/libpng16d.lib (ver 1.6.37) -- TIFF: optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/tiff.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/tiffd.lib optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/lzma.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/lzmad.lib optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/jpeg.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/jpegd.lib optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/zlib.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/zlibd.lib (ver 42 / 4.3.0) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- PFM: YES -- -- Video I/O: -- DC1394: NO -- GStreamer: NO -- DirectShow: YES -- Media Foundation: YES -- DXVA: YES -- -- Parallel framework: Concurrency -- -- Trace: YES (built-in) -- -- Other third-party libraries: -- Custom HAL: NO -- Protobuf: C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/libprotobuf.lib (3.15.8) -- -- OpenCL: YES (NVD3D11) -- Include path: C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/src/4.5.3-1db9726377.clean/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load -- -- Python (for build): NO -- -- Install to: C:/Users/user/source/repos/vcpkg/packages/opencv4_x86-windows/debug


-- -- Configuring done -- Generating done -- Build files have been written to: C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/x86-windows-dbg ninja: build stopped: subcommand failed.



Thank you
cenit commented 3 years ago

cmake cpu tests fail in release mode and have success in debug one?? strange! can you please tell me exact compiler version, update it to latest if possible, and retry building opencv?

dg0yt commented 3 years ago

-- Other third-party libraries: -- Custom HAL: NO -- Protobuf: C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/libprotobuf.lib (3.15.8)

Unrelated but noteworthy: This debug build uses the release build of protobuf.

seyeon923 commented 3 years ago

My visual studio version is 16.11.2. (is it right you're asking Visual Studio version?) I already tried update the visual studio before creating this issue.

I retried building opencv anyway. and the same error message reproduced.

Call Stack (most recent call first): installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:398 (vcpkg_execute_required_process) ports/opencv4/portfile.cmake:313 (vcpkg_cmake_configure) scripts/ports.cmake:140 (include)

Error: Building package opencv4:x86-windows failed with: BUILD_FAILED Please ensure you're using the latest portfiles with .\vcpkg update, then submit an issue at https://github.com/Microsoft/vcpkg/issues including: Package: opencv4:x86-windows Vcpkg version: 2021-08-12-85ab112d5ee102bc6eac8cdbbfdd173a71374e04

Additionally, attach any relevant sections from the log files above.


- config-x86-windows-out.log

[1/2] "C:/Users/user/source/repos/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" -S "C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/src/4.5.3-1db9726377.clean" -B .. "-DOPENCV_SKIP_SYSTEM_PROCESSOR_DETECTION=TRUE" "-DAARCH64=" "-DX86_64=" "-DX86=1" "-DARM=" "-DOpenCV_INSTALL_BINARIES_PREFIX=" "-DOPENCV_BIN_INSTALL_PATH=bin" "-DOPENCV_INCLUDE_INSTALL_PATH=include" "-DOPENCV_LIB_INSTALL_PATH=lib" "-DOPENCV_3P_LIB_INSTALL_PATH=lib" "-DOPENCV_CONFIG_INSTALL_PATH=share/opencv" "-DINSTALL_TO_MANGLED_PATHS=OFF" "-DOPENCV_FFMPEG_USE_FIND_PACKAGE=FFMPEG" "-DOPENCV_FFMPEG_SKIP_BUILD_CHECK=TRUE" "-DCMAKE_DEBUG_POSTFIX=d" "-DOPENCV_DLLVERSION=" "-DOPENCV_DEBUG_POSTFIX=d" "-DOPENCV_GENERATE_SETUPVARS=OFF" "-DBUILD_DOCS=OFF" "-DBUILD_EXAMPLES=OFF" "-Dade_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows/share/ade" "-DBUILD_JASPER=OFF" "-DBUILD_JPEG=OFF" "-DBUILD_OPENEXR=OFF" "-DBUILD_PNG=OFF" "-DBUILD_TIFF=OFF" "-DBUILD_WEBP=OFF" "-DBUILD_ZLIB=OFF" "-DBUILD_TBB=OFF" "-DBUILD_IPP_IW=OFF" "-DBUILD_ITT=OFF" "-DBUILD_PROTOBUF=OFF" "-DBUILD_opencv_apps=OFF" "-DBUILD_opencv_java=OFF" "-DBUILD_opencv_js=OFF" "-DBUILD_ANDROID_PROJECT=OFF" "-DBUILD_ANDROID_EXAMPLES=OFF" "-DBUILD_PACKAGE=OFF" "-DBUILD_PERF_TESTS=OFF" "-DBUILD_TESTS=OFF" "-DBUILD_WITH_DEBUG_INFO=ON" "-DBUILD_WITH_STATIC_CRT=0" "-DBUILD_JAVA=OFF" "-DCURRENT_INSTALLED_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows" "-DPROTOBUF_UPDATE_FILES=ON" "-DUPDATE_PROTO_FILES=ON" "-DENABLE_PYLINT=OFF" "-DENABLE_FLAKE8=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_JNI=ON" "-DENABLE_CXX11=ON" "-DOPENCV_DOWNLOAD_PATH=C:/Users/user/source/repos/vcpkg/downloads/opencv-cache" "-DOPENCV_OTHER_INSTALL_PATH=share/opencv" "-DWITH_ADE=OFF" "-DWITH_CONTRIB=OFF" "-DWITH_CUBLAS=OFF" "-DWITH_CUDA=OFF" "-DWITH_CUDNN=OFF" "-DWITH_EIGEN=OFF" "-DWITH_FFMPEG=OFF" "-DWITH_GDCM=OFF" "-DWITH_HALIDE=OFF" "-DWITH_JASPER=OFF" "-DWITH_JPEG=ON" "-DWITH_LAPACK=OFF" "-DOPENCV_ENABLE_NONFREE=OFF" "-DWITH_OPENEXR=OFF" "-DWITH_OPENGL=OFF" "-DWITH_PNG=ON" "-DWITH_QT=OFF" "-DWITH_QUIRC=ON" "-DBUILD_opencv_sfm=OFF" "-DWITH_TIFF=ON" "-DWITH_VTK=OFF" "-DWITH_WEBP=ON" "-DBUILD_opencv_world=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Halide=ON" "-DHALIDE_ROOT_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows" "-DWITH_GTK=OFF" "-DWITH_IPP=OFF" "-DWITH_MATLAB=OFF" "-DWITH_MSMF=ON" "-DWITH_OPENMP=OFF" "-DWITH_PROTOBUF=ON" "-DWITH_OPENCLAMDBLAS=OFF" "-DWITH_TBB=OFF" "-DWITH_OPENJPEG=OFF" "-DBUILD_opencv_ovis=OFF" "-DBUILD_opencv_dnn=ON" "-DBUILD_opencv_quality=OFF" "-DBUILD_opencv_gapi=ON" "-DBUILD_opencv_rgbd=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/user/source/repos/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/user/source/repos/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/user/source/repos/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/user/source/repos/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DISABLE_SOURCE_CHANGES=ON" -G "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/Users/user/source/repos/vcpkg/packages/opencv4_x86-windows" FAILED: ../CMakeCache.txt "C:/Users/user/source/repos/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" -S "C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/src/4.5.3-1db9726377.clean" -B .. "-DOPENCV_SKIP_SYSTEM_PROCESSOR_DETECTION=TRUE" "-DAARCH64=" "-DX86_64=" "-DX86=1" "-DARM=" "-DOpenCV_INSTALL_BINARIES_PREFIX=" "-DOPENCV_BIN_INSTALL_PATH=bin" "-DOPENCV_INCLUDE_INSTALL_PATH=include" "-DOPENCV_LIB_INSTALL_PATH=lib" "-DOPENCV_3P_LIB_INSTALL_PATH=lib" "-DOPENCV_CONFIG_INSTALL_PATH=share/opencv" "-DINSTALL_TO_MANGLED_PATHS=OFF" "-DOPENCV_FFMPEG_USE_FIND_PACKAGE=FFMPEG" "-DOPENCV_FFMPEG_SKIP_BUILD_CHECK=TRUE" "-DCMAKE_DEBUG_POSTFIX=d" "-DOPENCV_DLLVERSION=" "-DOPENCV_DEBUG_POSTFIX=d" "-DOPENCV_GENERATE_SETUPVARS=OFF" "-DBUILD_DOCS=OFF" "-DBUILD_EXAMPLES=OFF" "-Dade_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows/share/ade" "-DBUILD_JASPER=OFF" "-DBUILD_JPEG=OFF" "-DBUILD_OPENEXR=OFF" "-DBUILD_PNG=OFF" "-DBUILD_TIFF=OFF" "-DBUILD_WEBP=OFF" "-DBUILD_ZLIB=OFF" "-DBUILD_TBB=OFF" "-DBUILD_IPP_IW=OFF" "-DBUILD_ITT=OFF" "-DBUILD_PROTOBUF=OFF" "-DBUILD_opencv_apps=OFF" "-DBUILD_opencv_java=OFF" "-DBUILD_opencv_js=OFF" "-DBUILD_ANDROID_PROJECT=OFF" "-DBUILD_ANDROID_EXAMPLES=OFF" "-DBUILD_PACKAGE=OFF" "-DBUILD_PERF_TESTS=OFF" "-DBUILD_TESTS=OFF" "-DBUILD_WITH_DEBUG_INFO=ON" "-DBUILD_WITH_STATIC_CRT=0" "-DBUILD_JAVA=OFF" "-DCURRENT_INSTALLED_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows" "-DPROTOBUF_UPDATE_FILES=ON" "-DUPDATE_PROTO_FILES=ON" "-DENABLE_PYLINT=OFF" "-DENABLE_FLAKE8=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_JNI=ON" "-DENABLE_CXX11=ON" "-DOPENCV_DOWNLOAD_PATH=C:/Users/user/source/repos/vcpkg/downloads/opencv-cache" "-DOPENCV_OTHER_INSTALL_PATH=share/opencv" "-DWITH_ADE=OFF" "-DWITH_CONTRIB=OFF" "-DWITH_CUBLAS=OFF" "-DWITH_CUDA=OFF" "-DWITH_CUDNN=OFF" "-DWITH_EIGEN=OFF" "-DWITH_FFMPEG=OFF" "-DWITH_GDCM=OFF" "-DWITH_HALIDE=OFF" "-DWITH_JASPER=OFF" "-DWITH_JPEG=ON" "-DWITH_LAPACK=OFF" "-DOPENCV_ENABLE_NONFREE=OFF" "-DWITH_OPENEXR=OFF" "-DWITH_OPENGL=OFF" "-DWITH_PNG=ON" "-DWITH_QT=OFF" "-DWITH_QUIRC=ON" "-DBUILD_opencv_sfm=OFF" "-DWITH_TIFF=ON" "-DWITH_VTK=OFF" "-DWITH_WEBP=ON" "-DBUILD_opencv_world=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Halide=ON" "-DHALIDE_ROOT_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows" "-DWITH_GTK=OFF" "-DWITH_IPP=OFF" "-DWITH_MATLAB=OFF" "-DWITH_MSMF=ON" "-DWITH_OPENMP=OFF" "-DWITH_PROTOBUF=ON" "-DWITH_OPENCLAMDBLAS=OFF" "-DWITH_TBB=OFF" "-DWITH_OPENJPEG=OFF" "-DBUILD_opencv_ovis=OFF" "-DBUILD_opencv_dnn=ON" "-DBUILD_opencv_quality=OFF" "-DBUILD_opencv_gapi=ON" "-DBUILD_opencv_rgbd=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/user/source/repos/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/user/source/repos/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/user/source/repos/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/user/source/repos/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DISABLE_SOURCE_CHANGES=ON" -G "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/Users/user/source/repos/vcpkg/packages/opencv4_x86-windows" -- The CXX compiler identification is MSVC 19.29.30133.0 -- The C compiler identification is MSVC 19.29.30133.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/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/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detected processor: AMD64 -- Performing Test HAVE_CXX_FP:PRECISE -- Performing Test HAVE_CXX_FP:PRECISE - Failed -- Performing Test HAVE_C_FP:PRECISE -- Performing Test HAVE_C_FP:PRECISE - Failed -- Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp) -- Performing Test HAVE_CPU_SSE3_SUPPORT - Failed -- SSE3 is not supported by C++ compiler -- Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp) -- Performing Test HAVE_CPU_SSSE3_SUPPORT - Failed -- SSSE3 is not supported by C++ compiler -- Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp) -- Performing Test HAVE_CPU_SSE4_1_SUPPORT - Failed -- SSE4_1 is not supported by C++ compiler -- Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CPU_POPCNT_SUPPORT - Failed -- POPCNT is not supported by C++ compiler -- Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CPU_SSE4_2_SUPPORT - Failed -- SSE4_2 is not supported by C++ compiler -- Performing Test HAVE_CXX_ARCH:AVX (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CXX_ARCH:AVX - Success -- Dispatch optimization SSE4_1 is not available, skipped -- Dispatch optimization SSE4_2 is not available, skipped -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Failed CMake Error at cmake/OpenCVCompilerOptimizations.cmake:593 (message): Compiler doesn't support baseline optimization flags: /arch:SSE /arch:SSE2 Call Stack (most recent call first): cmake/OpenCVCompilerOptions.cmake:319 (ocv_compiler_optimization_options) CMakeLists.txt:623 (include)

-- Configuring incomplete, errors occurred! See also "C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/x86-windows-rel/CMakeFiles/CMakeOutput.log". See also "C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/x86-windows-rel/CMakeFiles/CMakeError.log". [2/2] "C:/Users/user/source/repos/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" -S "C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/src/4.5.3-1db9726377.clean" -B "../../x86-windows-dbg" "-DOPENCV_SKIP_SYSTEM_PROCESSOR_DETECTION=TRUE" "-DAARCH64=" "-DX86_64=" "-DX86=1" "-DARM=" "-DOpenCV_INSTALL_BINARIES_PREFIX=" "-DOPENCV_BIN_INSTALL_PATH=bin" "-DOPENCV_INCLUDE_INSTALL_PATH=include" "-DOPENCV_LIB_INSTALL_PATH=lib" "-DOPENCV_3P_LIB_INSTALL_PATH=lib" "-DOPENCV_CONFIG_INSTALL_PATH=share/opencv" "-DINSTALL_TO_MANGLED_PATHS=OFF" "-DOPENCV_FFMPEG_USE_FIND_PACKAGE=FFMPEG" "-DOPENCV_FFMPEG_SKIP_BUILD_CHECK=TRUE" "-DCMAKE_DEBUG_POSTFIX=d" "-DOPENCV_DLLVERSION=" "-DOPENCV_DEBUG_POSTFIX=d" "-DOPENCV_GENERATE_SETUPVARS=OFF" "-DBUILD_DOCS=OFF" "-DBUILD_EXAMPLES=OFF" "-Dade_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows/share/ade" "-DBUILD_JASPER=OFF" "-DBUILD_JPEG=OFF" "-DBUILD_OPENEXR=OFF" "-DBUILD_PNG=OFF" "-DBUILD_TIFF=OFF" "-DBUILD_WEBP=OFF" "-DBUILD_ZLIB=OFF" "-DBUILD_TBB=OFF" "-DBUILD_IPP_IW=OFF" "-DBUILD_ITT=OFF" "-DBUILD_PROTOBUF=OFF" "-DBUILD_opencv_apps=OFF" "-DBUILD_opencv_java=OFF" "-DBUILD_opencv_js=OFF" "-DBUILD_ANDROID_PROJECT=OFF" "-DBUILD_ANDROID_EXAMPLES=OFF" "-DBUILD_PACKAGE=OFF" "-DBUILD_PERF_TESTS=OFF" "-DBUILD_TESTS=OFF" "-DBUILD_WITH_DEBUG_INFO=ON" "-DBUILD_WITH_STATIC_CRT=0" "-DBUILD_JAVA=OFF" "-DCURRENT_INSTALLED_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows" "-DPROTOBUF_UPDATE_FILES=ON" "-DUPDATE_PROTO_FILES=ON" "-DENABLE_PYLINT=OFF" "-DENABLE_FLAKE8=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_JNI=ON" "-DENABLE_CXX11=ON" "-DOPENCV_DOWNLOAD_PATH=C:/Users/user/source/repos/vcpkg/downloads/opencv-cache" "-DOPENCV_OTHER_INSTALL_PATH=share/opencv" "-DWITH_ADE=OFF" "-DWITH_CONTRIB=OFF" "-DWITH_CUBLAS=OFF" "-DWITH_CUDA=OFF" "-DWITH_CUDNN=OFF" "-DWITH_EIGEN=OFF" "-DWITH_FFMPEG=OFF" "-DWITH_GDCM=OFF" "-DWITH_HALIDE=OFF" "-DWITH_JASPER=OFF" "-DWITH_JPEG=ON" "-DWITH_LAPACK=OFF" "-DOPENCV_ENABLE_NONFREE=OFF" "-DWITH_OPENEXR=OFF" "-DWITH_OPENGL=OFF" "-DWITH_PNG=ON" "-DWITH_QT=OFF" "-DWITH_QUIRC=ON" "-DBUILD_opencv_sfm=OFF" "-DWITH_TIFF=ON" "-DWITH_VTK=OFF" "-DWITH_WEBP=ON" "-DBUILD_opencv_world=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Halide=ON" "-DHALIDE_ROOT_DIR=C:/Users/user/source/repos/vcpkg/installed/x86-windows" "-DWITH_GTK=OFF" "-DWITH_IPP=OFF" "-DWITH_MATLAB=OFF" "-DWITH_MSMF=ON" "-DWITH_OPENMP=OFF" "-DWITH_PROTOBUF=ON" "-DWITH_OPENCLAMDBLAS=OFF" "-DWITH_TBB=OFF" "-DWITH_OPENJPEG=OFF" "-DBUILD_opencv_ovis=OFF" "-DBUILD_opencv_dnn=ON" "-DBUILD_opencv_quality=OFF" "-DBUILD_opencv_gapi=ON" "-DBUILD_opencv_rgbd=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/user/source/repos/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/user/source/repos/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/user/source/repos/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/user/source/repos/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DISABLE_SOURCE_CHANGES=ON" -G "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/Users/user/source/repos/vcpkg/packages/opencv4_x86-windows/debug" -- The CXX compiler identification is MSVC 19.29.30133.0 -- The C compiler identification is MSVC 19.29.30133.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/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/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detected processor: AMD64 -- 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_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 -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for _aligned_malloc -- Looking for _aligned_malloc - found CMake Warning (dev) at C:/Users/user/source/repos/vcpkg/installed/x86-windows/share/zlib/vcpkg-cmake-wrapper.cmake:13 (_find_package): Policy CMP0074 is not set: find_package uses _ROOT variables. Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CMake variable ZLIB_ROOT is set to:

C:/Users/user/source/repos/vcpkg/installed/x86-windows

For compatibility, CMake is ignoring the variable. Call Stack (most recent call first): C:/Users/user/source/repos/vcpkg/scripts/buildsystems/vcpkg.cmake:738 (include) cmake/OpenCVFindLibsGrfmt.cmake:14 (find_package) CMakeLists.txt:717 (include) This warning is for project developers. Use -Wno-dev to suppress it.

-- Found ZLIB: optimized;C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/zlib.lib;debug;C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/zlibd.lib (found suitable version "1.2.11", minimum required is "1.2.3") -- Found JPEG: optimized;C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/jpeg.lib;debug;C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/jpegd.lib (found version "62") -- Found TIFF: optimized;C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/tiff.lib;debug;C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/tiffd.lib (found version "4.3.0")
-- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE
-- Found ZLIB: optimized;C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/zlib.lib;debug;C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/zlibd.lib (found version "1.2.11") -- Found PNG: optimized;C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/libpng16.lib;debug;C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/libpng16d.lib (found version "1.6.37") -- Looking for C:/Users/user/source/repos/vcpkg/installed/x86-windows/include/libpng/png.h -- Looking for C:/Users/user/source/repos/vcpkg/installed/x86-windows/include/libpng/png.h - not found -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- OpenCV Python: during development append to PYTHONPATH: C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/x86-windows-dbg/python_loader -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Looking for mfapi.h -- Looking for mfapi.h - found -- Looking for d3d11_4.h -- Looking for d3d11_4.h - found -- Allocator metrics storage type: 'long long' -- Excluding from source files list: modules/imgproc/src/imgwarp.avx2.cpp -- Excluding from source files list: modules/imgproc/src/resize.avx2.cpp -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/src/4.5.3-1db9726377.clean/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake -- opencv_dnn: filter out cuda4dnn source code -- Excluding from source files list: /modules/dnn/layers/layers_common.avx2.cpp -- Excluding from source files list: /modules/dnn/layers/layers_common.avx512_skx.cpp -- Excluding from source files list: modules/features2d/src/fast.avx2.cpp -- highgui: using builtin backend: WIN32UI -- -- General configuration for OpenCV 4.5.3 ===================================== -- Version control: unknown -- -- Platform: -- Timestamp: 2021-08-26T05:24:19Z -- Host: Windows 10.0.18363 AMD64 -- CMake: 3.21.1 -- CMake generator: Ninja -- CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe -- MSVC: 1929 -- Configuration: Debug -- -- CPU/HW features: -- Baseline: SSE SSE2 -- requested: SSE2 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX -- requested: SSE4_1 SSE4_2 AVX FP16 -- SSE4_1 (14 files): + SSE3 SSSE3 SSE4_1 -- SSE4_2 (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 -- FP16 (0 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX -- AVX (4 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 AVX -- -- C/C++: -- Built as dynamic libs?: YES -- C++ standard: 11 -- C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe (ver 19.29.30133.0) -- C++ flags (Release): /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MD /O2 /Oi /Gy /DNDEBUG /Z7
-- C++ flags (Debug): /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /arch:SSE /arch:SSE2 /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1
-- C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe -- C flags (Release): /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /arch:SSE /arch:SSE2 /MD /O2 /Oi /Gy /DNDEBUG /Z7
-- C flags (Debug): /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /arch:SSE /arch:SSE2 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1
-- Linker flags (Release): /machine:X86 /nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF /debug -- Linker flags (Debug): /machine:X86 /nologo /debug /INCREMENTAL -- ccache: NO -- Precompiled headers: NO -- Extra dependencies: -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: calib3d core dnn features2d flann highgui imgcodecs imgproc ml objdetect photo stitching video videoio -- Disabled: world -- Disabled by dependency: - -- Unavailable: gapi java python2 python3 ts -- Applications: - -- Documentation: NO -- Non-free algorithms: NO -- -- Windows RT support: NO -- -- GUI: -- Win32 UI: YES -- -- Media I/O: -- ZLib: optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/zlib.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/zlibd.lib (ver 1.2.11) -- JPEG: optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/jpeg.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/jpegd.lib (ver 62) -- WEBP: optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/webp.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/webpd.lib (ver 1.1.0) -- PNG: optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/libpng16.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/libpng16d.lib (ver 1.6.37) -- TIFF: optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/tiff.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/tiffd.lib optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/lzma.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/lzmad.lib optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/jpeg.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/jpegd.lib optimized C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/zlib.lib debug C:/Users/user/source/repos/vcpkg/installed/x86-windows/debug/lib/zlibd.lib (ver 42 / 4.3.0) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- PFM: YES -- -- Video I/O: -- DC1394: NO -- GStreamer: NO -- DirectShow: YES -- Media Foundation: YES -- DXVA: YES -- -- Parallel framework: Concurrency -- -- Trace: YES (built-in) -- -- Other third-party libraries: -- Custom HAL: NO -- Protobuf: C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/libprotobuf.lib (3.15.8) -- -- OpenCL: YES (NVD3D11) -- Include path: C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/src/4.5.3-1db9726377.clean/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load -- -- Python (for build): NO -- -- Install to: C:/Users/user/source/repos/vcpkg/packages/opencv4_x86-windows/debug


-- -- Configuring done -- Generating done -- Build files have been written to: C:/Users/user/source/repos/vcpkg/buildtrees/opencv4/x86-windows-dbg ninja: build stopped: subcommand failed.

NancyLi1013 commented 3 years ago

I cannot reproduce this on my machine with Visual Studio 2019(16.11.2).

configure log from my machine: config-x86-windows-out.log

Related issue from upstream https://github.com/opencv/opencv/issues/18657

@cenit Do you have any ideas about this issue?

cenit commented 3 years ago

-- Other third-party libraries: -- Custom HAL: NO -- Protobuf: C:/Users/user/source/repos/vcpkg/installed/x86-windows/lib/libprotobuf.lib (3.15.8)

Unrelated but noteworthy: This debug build uses the release build of protobuf.

thanks for noticing

seyeon923 commented 3 years ago

I resolved the build error.

In cmake error log file('buildtrees/opnecv4/x86-windows-rel/CMakeFiles/CMakeError.log'), I've found this error message starts with "mt.exe : general error c101008d: ".

When I googled this message, there were some people saying disabling anti-virus will resolve the problem. So I retried building opencv4 after disabling anti-virus and I got build success.

Thank you