microsoft / vcpkg

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

[opencv4] Build error on x64-mingw-static #42252

Open dongfangZh opened 2 days ago

dongfangZh commented 2 days ago

Package: opencv4[core,default-features,dnn,jpeg,png,quirc,tiff,webp]:x64-mingw-static@4.8.0#22

Host Environment

To Reproduce

vcpkg install opencv:x64-mingw-static

Failure logs

-- Using cached opencv4-e5e1a3bfdea96bebda2ad963bc8f6cf17930aef7.patch.
-- Using cached opencv4-3e3ee106fb8ccd003aa2c9a943a2340b066537bc.patch.
-- Using cached opencv-opencv-4.8.0.tar.gz.
-- Cleaning sources at D:/vcpkg/buildtrees/opencv4/src/4.8.0-f4e8005717.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg/downloads/opencv-opencv-4.8.0.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-eigen.patch
-- Applying patch 0005-fix-policy-CMP0057.patch
-- Applying patch 0006-fix-uwp.patch
-- Applying patch 0008-devendor-quirc.patch
-- Applying patch 0009-fix-protobuf.patch
-- Applying patch 0010-fix-uwp-tiff-imgcodecs.patch
-- Applying patch 0011-remove-python2.patch
-- Applying patch 0012-fix-zlib.patch
-- Applying patch 0015-fix-freetype.patch
-- Applying patch 0017-fix-flatbuffers.patch
-- Applying patch 0019-missing-include.patch
-- Applying patch 0020-fix-compat-cuda12.2.patch
-- Applying patch 0021-static-openvino.patch
-- Applying patch D:/vcpkg/downloads/opencv4-e5e1a3bfdea96bebda2ad963bc8f6cf17930aef7.patch
-- Applying patch 0022-fix-supportqnx.patch
-- Applying patch D:/vcpkg/downloads/opencv4-3e3ee106fb8ccd003aa2c9a943a2340b066537bc.patch
-- Using source at D:/vcpkg/buildtrees/opencv4/src/4.8.0-f4e8005717.clean
-- Using cached opencv-cache/tiny_dnn/adb1c512e09ca2c7a6faef36f9c53e59-v1.0.0a3.tar.gz.
-- Configuring x64-mingw-static
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v
    Working Directory: D:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\vcpkg\buildtrees\opencv4\config-x64-mingw-static-dbg-CMakeCache.txt.log
      D:\vcpkg\buildtrees\opencv4\config-x64-mingw-static-rel-CMakeCache.txt.log
      D:\vcpkg\buildtrees\opencv4\config-x64-mingw-static-dbg-CMakeConfigureLog.yaml.log
      D:\vcpkg\buildtrees\opencv4\config-x64-mingw-static-rel-CMakeConfigureLog.yaml.log
      D:\vcpkg\buildtrees\opencv4\config-x64-mingw-static-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
  ports/opencv4/portfile.cmake:409 (vcpkg_cmake_configure)
  scripts/ports.cmake:192 (include)
D:\vcpkg\buildtrees\opencv4\config-x64-mingw-static-out.log ``` [1/2] "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe" -E chdir "../../x64-mingw-static-dbg" "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe" "D:/vcpkg/buildtrees/opencv4/src/4.8.0-f4e8005717.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/opencv4_x64-mingw-static/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DOPENCV_SKIP_SYSTEM_PROCESSOR_DETECTION=TRUE" "-DAARCH64=" "-DX86_64=1" "-DX86=" "-DARM=" "-DINSTALL_TO_MANGLED_PATHS=OFF" "-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/manual-link/opencv4_thirdparty" "-DOPENCV_CONFIG_INSTALL_PATH=share/opencv4" "-DOPENCV_FFMPEG_USE_FIND_PACKAGE=FFMPEG" "-DOPENCV_FFMPEG_SKIP_BUILD_CHECK=TRUE" "-DCMAKE_DEBUG_POSTFIX=d" "-DOPENCV_DLLVERSION=4" "-DOPENCV_DEBUG_POSTFIX=d" "-DOPENCV_GENERATE_SETUPVARS=OFF" "-DBUILD_DOCS=OFF" "-DBUILD_EXAMPLES=OFF" "-Dade_DIR=D:/vcpkg/installed/x64-mingw-static/share/ade" "-DBUILD_JASPER=OFF" "-DBUILD_OPENJPEG=OFF" "-DBUILD_JPEG=OFF" "-DBUILD_OPENEXR=OFF" "-DBUILD_PNG=OFF" "-DBUILD_TIFF=OFF" "-DBUILD_WEBP=OFF" "-DBUILD_ZLIB=OFF" "-DBUILD_TBB=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=D:/vcpkg/installed/x64-mingw-static" "-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=D:/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" "-DOPENCV_DNN_CUDA=OFF" "-DWITH_EIGEN=OFF" "-DWITH_FFMPEG=OFF" "-DWITH_FREETYPE=OFF" "-DWITH_GDCM=OFF" "-DWITH_GSTREAMER=OFF" "-DWITH_GTK=OFF" "-DWITH_HALIDE=OFF" "-DWITH_JASPER=OFF" "-DWITH_OPENJPEG=OFF" "-DWITH_JPEG=ON" "-DWITH_LAPACK=OFF" "-DOPENCV_ENABLE_NONFREE=OFF" "-DWITH_OPENVINO=OFF" "-DWITH_OPENEXR=OFF" "-DWITH_OPENGL=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_OGRE=OFF" "-DWITH_PNG=ON" "-DWITH_QUIRC=ON" "-DBUILD_opencv_sfm=OFF" "-DWITH_TIFF=ON" "-DWITH_VTK=OFF" "-DWITH_WEBP=ON" "-DBUILD_opencv_world=OFF" "-DWITH_1394=OFF" "-DWITH_VULKAN=OFF" "-DWITH_GTK=OFF" "-DWITH_QT=OFF" "-DWITH_IPP=OFF" "-DWITH_VULKAN=OFF" "-DWITH_MATLAB=OFF" "-DWITH_MSMF=OFF" "-DWITH_OPENMP=OFF" "-DWITH_PROTOBUF=ON" "-DWITH_PYTHON=OFF" "-DWITH_OPENCLAMDBLAS=OFF" "-DWITH_OPENVINO=OFF" "-DWITH_TBB=OFF" "-DWITH_CPUFEATURES=OFF" "-DBUILD_opencv_ovis=OFF" "-DBUILD_opencv_dnn=ON" "-DBUILD_opencv_python3=OFF" "-DBUILD_opencv_quality=OFF" "-DBUILD_opencv_gapi=ON" "-DBUILD_opencv_rgbd=OFF" "-DBUILD_IPP_IW=OFF" "-DOPENCV_LAPACK_FIND_PACKAGE_ONLY=ON" "-DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DCMAKE_SYSTEM_NAME=MinGW" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/mingw.cmake" "-DVCPKG_TARGET_TRIPLET=x64-mingw-static" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-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=D:/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=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" " ... Skipped 337 lines ... -- Performing Test HAVE_C_WSHADOW - Success -- Performing Test HAVE_CXX_WSIGN_PROMO -- Performing Test HAVE_CXX_WSIGN_PROMO - Success -- Performing Test HAVE_C_WSIGN_PROMO -- Performing Test HAVE_C_WSIGN_PROMO - Failed -- Performing Test HAVE_CXX_WUNINITIALIZED -- Performing Test HAVE_CXX_WUNINITIALIZED - Success -- Performing Test HAVE_C_WUNINITIALIZED -- Performing Test HAVE_C_WUNINITIALIZED - Success -- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE -- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE - Success -- Performing Test HAVE_C_WSUGGEST_OVERRIDE -- Performing Test HAVE_C_WSUGGEST_OVERRIDE - Failed -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed -- Performing Test HAVE_CXX_WNO_COMMENT -- Performing Test HAVE_CXX_WNO_COMMENT - Success -- Performing Test HAVE_C_WNO_COMMENT -- Performing Test HAVE_C_WNO_COMMENT - Success -- Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3 -- Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3 - Success -- Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3 -- Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3 - Success -- Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW -- Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW - Success -- Performing Test HAVE_C_WNO_STRICT_OVERFLOW -- Performing Test HAVE_C_WNO_STRICT_OVERFLOW - Success -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_CXX_WNO_LONG_LONG -- Performing Test HAVE_CXX_WNO_LONG_LONG - Success -- Performing Test HAVE_C_WNO_LONG_LONG -- Performing Test HAVE_C_WNO_LONG_LONG - Success -- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER -- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success -- Performing Test HAVE_C_FOMIT_FRAME_POINTER -- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success -- Performing Test HAVE_CXX_FFUNCTION_SECTIONS -- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success -- Performing Test HAVE_C_FFUNCTION_SECTIONS -- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success -- Performing Test HAVE_CXX_FDATA_SECTIONS -- Performing Test HAVE_CXX_FDATA_SECTIONS - Success -- Performing Test HAVE_C_FDATA_SECTIONS -- Performing Test HAVE_C_FDATA_SECTIONS - Success -- Performing Test HAVE_CXX_MSSE (check file: cmake/checks/cpu_sse.cpp) -- Performing Test HAVE_CXX_MSSE - Success -- Performing Test HAVE_CXX_MSSE2 (check file: cmake/checks/cpu_sse2.cpp) -- Performing Test HAVE_CXX_MSSE2 - Success -- Performing Test HAVE_CXX_MSSE3 (check file: cmake/checks/cpu_sse3.cpp) -- Performing Test HAVE_CXX_MSSE3 - Success -- Performing Test HAVE_CXX_MSSSE3 (check file: cmake/checks/cpu_ssse3.cpp) -- Performing Test HAVE_CXX_MSSSE3 - Success -- Performing Test HAVE_CXX_MSSE4_1 (check file: cmake/checks/cpu_sse41.cpp) -- Performing Test HAVE_CXX_MSSE4_1 - Success -- Performing Test HAVE_CXX_MPOPCNT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CXX_MPOPCNT - Success -- Performing Test HAVE_CXX_MSSE4_2 (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CXX_MSSE4_2 - Success -- Performing Test HAVE_CXX_MF16C (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CXX_MF16C - Success -- Performing Test HAVE_CXX_MFMA -- Performing Test HAVE_CXX_MFMA - Success -- Performing Test HAVE_CXX_MAVX (check file: cmake/checks/cpu_avx.cpp) -- Performing Test HAVE_CXX_MAVX - Success -- Performing Test HAVE_CXX_MAVX2 (check file: cmake/checks/cpu_avx2.cpp) -- Performing Test HAVE_CXX_MAVX2 - Success -- Performing Test HAVE_CXX_MAVX512F (check file: cmake/checks/cpu_avx512.cpp) -- Performing Test HAVE_CXX_MAVX512F - Failed -- AVX_512F is not supported by C++ compiler -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD (check file: cmake/checks/cpu_avx512common.cpp) -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD - Failed -- AVX512_COMMON is not supported by C++ compiler -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ (check file: cmake/checks/cpu_avx512skx.cpp) -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ - Failed -- AVX512_SKX is not supported by C++ compiler -- Dispatch optimization AVX512_SKX is not available, skipped -- 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_CXX_FVISIBILITY_HIDDEN -- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success -- Performing Test HAVE_C_FVISIBILITY_HIDDEN -- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Failed -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for posix_memalign -- Looking for posix_memalign - not found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for memalign -- Looking for memalign - not found -- Found ZLIB: optimized;D:/vcpkg/installed/x64-mingw-static/lib/libzlib.a;debug;D:/vcpkg/installed/x64-mingw-static/debug/lib/libzlibd.a (found suitable version "1.3.1", minimum required is "1.2.3") -- Found JPEG: optimized;D:/vcpkg/installed/x64-mingw-static/lib/libjpeg.a;debug;D:/vcpkg/installed/x64-mingw-static/debug/lib/libjpeg.a (found version "62") -- Found TIFF: optimized;D:/vcpkg/installed/x64-mingw-static/lib/libtiff.a;debug;D:/vcpkg/installed/x64-mingw-static/debug/lib/libtiffd.a (found version "4.6.0") -- Found LibLZMA: optimized;D:/vcpkg/installed/x64-mingw-static/lib/liblzma.a;debug;D:/vcpkg/installed/x64-mingw-static/debug/lib/liblzma.a (found version "5.6.2") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found ZLIB: optimized;D:/vcpkg/installed/x64-mingw-static/lib/libzlib.a;debug;D:/vcpkg/installed/x64-mingw-static/debug/lib/libzlibd.a (found version "1.3.1") -- Found PNG: optimized;D:/vcpkg/installed/x64-mingw-static/lib/libpng16.a;debug;D:/vcpkg/installed/x64-mingw-static/debug/lib/libpng16d.a (found version "1.6.43") -- Looking for D:/vcpkg/installed/x64-mingw-static/include/libpng/png.h -- Looking for D:/vcpkg/installed/x64-mingw-static/include/libpng/png.h - not found CMake Error at D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message): Could NOT find Protobuf (missing: Protobuf_PROTOC_EXECUTABLE) (found version "25.1.0") Call Stack (most recent call first): D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE) D:/vcpkg/installed/x64-mingw-static/share/protobuf/protobuf-module.cmake:162 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) D:/vcpkg/installed/x64-mingw-static/share/protobuf/protobuf-config.cmake:21 (include) D:/vcpkg/installed/x64-mingw-static/share/protobuf/vcpkg-cmake-wrapper.cmake:3 (_find_package) D:/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include) cmake/OpenCVFindProtobuf.cmake:34 (find_package) CMakeLists.txt:758 (include) -- Configuring incomplete, errors occurred! ninja: build stopped: subcommand failed. ```
D:\vcpkg\buildtrees\opencv4\config-x64-mingw-static-rel-CMakeCache.txt.log ``` # This is the CMakeCache file. # For build in directory: d:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel # It was generated by CMake: D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. # The syntax for the file is as follows: # KEY:TYPE=VALUE # KEY is the name of a variable in the cache. # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. # VALUE is the current value for the KEY. ######################## # EXTERNAL cache entries ######################## //No help, variable specified on the command line. AARCH64:UNINITIALIZED= //No help, variable specified on the command line. ARM:UNINITIALIZED= //No help, variable specified on the command line. BUILD_ANDROID_EXAMPLES:UNINITIALIZED=OFF //No help, variable specified on the command line. BUILD_ANDROID_PROJECT:UNINITIALIZED=OFF //Build CUDA modules stubs when no CUDA SDK BUILD_CUDA_STUBS:BOOL=OFF //Create build rules for OpenCV Documentation BUILD_DOCS:BOOL=OFF //Build all examples BUILD_EXAMPLES:BOOL=OFF //Create Java wrapper exporting all functions of OpenCV library // (requires static build of OpenCV modules) BUILD_FAT_JAVA_LIB:BOOL=OFF //Build IPP IW from source BUILD_IPP_IW:BOOL=OFF //Build Intel ITT from source BUILD_ITT:BOOL=OFF //Build libjasper from source BUILD_JASPER:BOOL=OFF //Enable Java support BUILD_JAVA:BOOL=OFF //Build libjpeg from source BUILD_JPEG:BOOL=OFF //Build only listed modules (comma-separated, e.g. 'videoio,dnn,ts') BUILD_LIST:STRING= //Build openexr from source BUILD_OPENEXR:BOOL=OFF //Build OpenJPEG from source BUILD_OPENJPEG:BOOL=OFF //Enables 'make package_source' command BUILD_PACKAGE:BOOL=OFF //Build performance tests BUILD_PERF_TESTS:BOOL=OFF //Build libpng from source BUILD_PNG:BOOL=OFF //Force to build libprotobuf runtime from sources BUILD_PROTOBUF:BOOL=OFF //Build shared libraries (.dll/.so) instead of static ones (.lib/.a) BUILD_SHARED_LIBS:BOOL=OFF //Download and build TBB from source BUILD_TBB:BOOL=OFF //Build accuracy & regression tests BUILD_TESTS:BOOL=OFF //Build libtiff from source BUILD_TIFF:BOOL=OFF //Use symlinks instead of files copying during build (and !!INSTALL!!) BUILD_USE_SYMLINKS:BOOL=OFF //Build WebP from source BUILD_WEBP:BOOL=OFF //Include debug info into release binaries ('OFF' means default // settings) BUILD_WITH_DEBUG_INFO:BOOL=ON //Enables dynamic linking of IPP (only for standalone IPP) BUILD_WITH_DYNAMIC_IPP:BOOL=OFF //No help, variable specified on the command line. BUILD_WITH_STATIC_CRT:UNINITIALIZED=0 //Build zlib from source BUILD_ZLIB:BOOL=OFF //Build utility applications (used for example to train classifiers) BUILD_opencv_apps:BOOL=OFF //No help, variable specified on the command line. BUILD_opencv_dnn:UNINITIALIZED=ON //No help, variable specified on the command line. BUILD_opencv_gapi:UNINITIALIZED=ON //No help, variable specified on the command line. BUILD_opencv_java:UNINITIALIZED=OFF //Build JavaScript bindings by Emscripten BUILD_opencv_js:BOOL=OFF //No help, variable specified on the command line. BUILD_opencv_ovis:UNINITIALIZED=OFF //No help, variable specified on the command line. BUILD_opencv_python3:UNINITIALIZED=OFF //No help, variable specified on the command line. BUILD_opencv_quality:UNINITIALIZED=OFF //No help, variable specified on the command line. BUILD_opencv_rgbd:UNINITIALIZED=OFF //No help, variable specified on the command line. BUILD_opencv_sfm:UNINITIALIZED=OFF //No help, variable specified on the command line. BUILD_opencv_world:UNINITIALIZED=OFF //Path to a program. CMAKE_ADDR2LINE:FILEPATH=D:/DependentLib/QT/5.14.1/Tools/mingw730_64/bin/addr2line.exe //Path to a program. CMAKE_AR:FILEPATH=D:/DependentLib/QT/5.14.1/Tools/mingw730_64/bin/ar.exe ... Skipped 1154 lines ... //Test HAVE_CXX_WINIT_SELF HAVE_CXX_WINIT_SELF:INTERNAL=1 //Test HAVE_CXX_WMISSING_DECLARATIONS HAVE_CXX_WMISSING_DECLARATIONS:INTERNAL=1 //Test HAVE_CXX_WMISSING_PROTOTYPES HAVE_CXX_WMISSING_PROTOTYPES:INTERNAL= //Test HAVE_CXX_WNON_VIRTUAL_DTOR HAVE_CXX_WNON_VIRTUAL_DTOR:INTERNAL=1 //Test HAVE_CXX_WNO_COMMENT HAVE_CXX_WNO_COMMENT:INTERNAL=1 //Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR:INTERNAL=1 //Test HAVE_CXX_WNO_LONG_LONG HAVE_CXX_WNO_LONG_LONG:INTERNAL=1 //Test HAVE_CXX_WNO_STRICT_OVERFLOW HAVE_CXX_WNO_STRICT_OVERFLOW:INTERNAL=1 //Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS:INTERNAL= //Test HAVE_CXX_WPOINTER_ARITH HAVE_CXX_WPOINTER_ARITH:INTERNAL=1 //Test HAVE_CXX_WRETURN_TYPE HAVE_CXX_WRETURN_TYPE:INTERNAL=1 //Test HAVE_CXX_WSEQUENCE_POINT HAVE_CXX_WSEQUENCE_POINT:INTERNAL=1 //Test HAVE_CXX_WSHADOW HAVE_CXX_WSHADOW:INTERNAL=1 //Test HAVE_CXX_WSIGN_PROMO HAVE_CXX_WSIGN_PROMO:INTERNAL=1 //Test HAVE_CXX_WSTRICT_PROTOTYPES HAVE_CXX_WSTRICT_PROTOTYPES:INTERNAL= //Test HAVE_CXX_WSUGGEST_OVERRIDE HAVE_CXX_WSUGGEST_OVERRIDE:INTERNAL=1 //Test HAVE_CXX_WUNDEF HAVE_CXX_WUNDEF:INTERNAL=1 //Test HAVE_CXX_WUNINITIALIZED HAVE_CXX_WUNINITIALIZED:INTERNAL=1 //Test HAVE_C_FDATA_SECTIONS HAVE_C_FDATA_SECTIONS:INTERNAL=1 //Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION HAVE_C_FDIAGNOSTICS_SHOW_OPTION:INTERNAL=1 //Test HAVE_C_FFUNCTION_SECTIONS HAVE_C_FFUNCTION_SECTIONS:INTERNAL=1 //Test HAVE_C_FOMIT_FRAME_POINTER HAVE_C_FOMIT_FRAME_POINTER:INTERNAL=1 //Test HAVE_C_FSIGNED_CHAR HAVE_C_FSIGNED_CHAR:INTERNAL=1 //Test HAVE_C_FVISIBILITY_HIDDEN HAVE_C_FVISIBILITY_HIDDEN:INTERNAL=1 //Test HAVE_C_FVISIBILITY_INLINES_HIDDEN HAVE_C_FVISIBILITY_INLINES_HIDDEN:INTERNAL= //Test HAVE_C_W HAVE_C_W:INTERNAL=1 //Test HAVE_C_WADDRESS HAVE_C_WADDRESS:INTERNAL=1 //Test HAVE_C_WALL HAVE_C_WALL:INTERNAL=1 //Test HAVE_C_WFORMAT HAVE_C_WFORMAT:INTERNAL=1 //Test HAVE_C_WFORMAT_SECURITY HAVE_C_WFORMAT_SECURITY:INTERNAL=1 //Test HAVE_C_WIMPLICIT_FALLTHROUGH_3 HAVE_C_WIMPLICIT_FALLTHROUGH_3:INTERNAL=1 //Test HAVE_C_WINIT_SELF HAVE_C_WINIT_SELF:INTERNAL=1 //Test HAVE_C_WMISSING_DECLARATIONS HAVE_C_WMISSING_DECLARATIONS:INTERNAL=1 //Test HAVE_C_WMISSING_PROTOTYPES HAVE_C_WMISSING_PROTOTYPES:INTERNAL=1 //Test HAVE_C_WNON_VIRTUAL_DTOR HAVE_C_WNON_VIRTUAL_DTOR:INTERNAL= //Test HAVE_C_WNO_COMMENT HAVE_C_WNO_COMMENT:INTERNAL=1 //Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR:INTERNAL= //Test HAVE_C_WNO_LONG_LONG HAVE_C_WNO_LONG_LONG:INTERNAL=1 //Test HAVE_C_WNO_STRICT_OVERFLOW HAVE_C_WNO_STRICT_OVERFLOW:INTERNAL=1 //Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS:INTERNAL= //Test HAVE_C_WPOINTER_ARITH HAVE_C_WPOINTER_ARITH:INTERNAL=1 //Test HAVE_C_WRETURN_TYPE HAVE_C_WRETURN_TYPE:INTERNAL=1 //Test HAVE_C_WSEQUENCE_POINT HAVE_C_WSEQUENCE_POINT:INTERNAL=1 //Test HAVE_C_WSHADOW HAVE_C_WSHADOW:INTERNAL=1 //Test HAVE_C_WSIGN_PROMO HAVE_C_WSIGN_PROMO:INTERNAL= //Test HAVE_C_WSTRICT_PROTOTYPES HAVE_C_WSTRICT_PROTOTYPES:INTERNAL=1 //Test HAVE_C_WSUGGEST_OVERRIDE HAVE_C_WSUGGEST_OVERRIDE:INTERNAL= //Test HAVE_C_WUNDEF HAVE_C_WUNDEF:INTERNAL=1 //Test HAVE_C_WUNINITIALIZED HAVE_C_WUNINITIALIZED:INTERNAL=1 //Have include D:/vcpkg/installed/x64-mingw-static/include/libpng/png.h HAVE_LIBPNG_PNG_H:INTERNAL= //Have include malloc.h HAVE_MALLOC_H:INTERNAL=1 //Have symbol memalign HAVE_MEMALIGN:INTERNAL= //Have symbol posix_memalign HAVE_POSIX_MEMALIGN:INTERNAL= //Have include pthread.h HAVE_PTHREAD:INTERNAL=1 //ADVANCED property for variable: JPEG_INCLUDE_DIR JPEG_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: JPEG_LIBRARY_DEBUG JPEG_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: JPEG_LIBRARY_RELEASE JPEG_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 LIBLZMA_HAS_AUTO_DECODER:INTERNAL=1 LIBLZMA_HAS_EASY_ENCODER:INTERNAL=1 LIBLZMA_HAS_LZMA_PRESET:INTERNAL=1 //ADVANCED property for variable: LIBLZMA_INCLUDE_DIR LIBLZMA_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LIBLZMA_LIBRARY_DEBUG LIBLZMA_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LIBLZMA_LIBRARY_RELEASE LIBLZMA_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 OPENCV_BUILD_INFO_STR:INTERNAL= OPENCV_DEPHELPER:INTERNAL=D:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/dephelper //ADVANCED property for variable: OPENCV_DOWNLOAD_PARAMS OPENCV_DOWNLOAD_PARAMS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: OPENCV_DOWNLOAD_TRIES_LIST OPENCV_DOWNLOAD_TRIES_LIST-ADVANCED:INTERNAL=1 //List of OpenCV modules included into the build OPENCV_MODULES_BUILD:INTERNAL= //List of OpenCV modules implicitly disabled due to dependencies OPENCV_MODULES_DISABLED_AUTO:INTERNAL= //List of OpenCV modules which can not be build in current configuration OPENCV_MODULES_DISABLED_FORCE:INTERNAL= //List of OpenCV modules explicitly disabled by user OPENCV_MODULES_DISABLED_USER:INTERNAL= //List of OpenCV modules marked for export OPENCV_MODULES_PUBLIC:INTERNAL= //ADVANCED property for variable: PKG_CONFIG_ARGN PKG_CONFIG_ARGN-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PKG_CONFIG_EXECUTABLE PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PNG_LIBRARY_DEBUG PNG_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PNG_LIBRARY_RELEASE PNG_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PNG_PNG_INCLUDE_DIR PNG_PNG_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: TIFF_INCLUDE_DIR TIFF_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: TIFF_LIBRARY_DEBUG TIFF_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: TIFF_LIBRARY_RELEASE TIFF_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //Install the dependencies listed in your manifest: //\n If this is off, you will have to manually install your dependencies. //\n See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md // for more info. //\n VCPKG_MANIFEST_INSTALL:INTERNAL=OFF //ADVANCED property for variable: VCPKG_VERBOSE VCPKG_VERBOSE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: ZLIB_INCLUDE_DIR ZLIB_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: ZLIB_LIBRARY_DEBUG ZLIB_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: ZLIB_LIBRARY_RELEASE ZLIB_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //Making sure VCPKG_MANIFEST_MODE doesn't change Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=OFF //Vcpkg root directory Z_VCPKG_ROOT_DIR:INTERNAL=D:/vcpkg //linker supports push/pop state _CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE __OPENCV_EXPORTED_EXTERNAL_TARGETS:INTERNAL= //ADVANCED property for variable: _vcpkg_sharpyuv_LIBRARY_DEBUG _vcpkg_sharpyuv_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_sharpyuv_LIBRARY_RELEASE _vcpkg_sharpyuv_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webp_LIBRARY_DEBUG _vcpkg_webp_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webp_LIBRARY_RELEASE _vcpkg_webp_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webpdecoder_LIBRARY_DEBUG _vcpkg_webpdecoder_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webpdecoder_LIBRARY_RELEASE _vcpkg_webpdecoder_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webpdemux_LIBRARY_DEBUG _vcpkg_webpdemux_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webpdemux_LIBRARY_RELEASE _vcpkg_webpdemux_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webpmux_LIBRARY_DEBUG _vcpkg_webpmux_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webpmux_LIBRARY_RELEASE _vcpkg_webpmux_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: protobuf_MODULE_COMPATIBLE protobuf_MODULE_COMPATIBLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: protobuf_VERBOSE protobuf_VERBOSE-ADVANCED:INTERNAL=1 ```
D:\vcpkg\buildtrees\opencv4\config-x64-mingw-static-dbg-CMakeCache.txt.log ``` # This is the CMakeCache file. # For build in directory: d:/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg # It was generated by CMake: D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. # The syntax for the file is as follows: # KEY:TYPE=VALUE # KEY is the name of a variable in the cache. # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. # VALUE is the current value for the KEY. ######################## # EXTERNAL cache entries ######################## //No help, variable specified on the command line. AARCH64:UNINITIALIZED= //No help, variable specified on the command line. ARM:UNINITIALIZED= //No help, variable specified on the command line. BUILD_ANDROID_EXAMPLES:UNINITIALIZED=OFF //No help, variable specified on the command line. BUILD_ANDROID_PROJECT:UNINITIALIZED=OFF //Build CUDA modules stubs when no CUDA SDK BUILD_CUDA_STUBS:BOOL=OFF //Create build rules for OpenCV Documentation BUILD_DOCS:BOOL=OFF //Build all examples BUILD_EXAMPLES:BOOL=OFF //Create Java wrapper exporting all functions of OpenCV library // (requires static build of OpenCV modules) BUILD_FAT_JAVA_LIB:BOOL=OFF //Build IPP IW from source BUILD_IPP_IW:BOOL=OFF //Build Intel ITT from source BUILD_ITT:BOOL=OFF //Build libjasper from source BUILD_JASPER:BOOL=OFF //Enable Java support BUILD_JAVA:BOOL=OFF //Build libjpeg from source BUILD_JPEG:BOOL=OFF //Build only listed modules (comma-separated, e.g. 'videoio,dnn,ts') BUILD_LIST:STRING= //Build openexr from source BUILD_OPENEXR:BOOL=OFF //Build OpenJPEG from source BUILD_OPENJPEG:BOOL=OFF //Enables 'make package_source' command BUILD_PACKAGE:BOOL=OFF //Build performance tests BUILD_PERF_TESTS:BOOL=OFF //Build libpng from source BUILD_PNG:BOOL=OFF //Force to build libprotobuf runtime from sources BUILD_PROTOBUF:BOOL=OFF //Build shared libraries (.dll/.so) instead of static ones (.lib/.a) BUILD_SHARED_LIBS:BOOL=OFF //Download and build TBB from source BUILD_TBB:BOOL=OFF //Build accuracy & regression tests BUILD_TESTS:BOOL=OFF //Build libtiff from source BUILD_TIFF:BOOL=OFF //Use symlinks instead of files copying during build (and !!INSTALL!!) BUILD_USE_SYMLINKS:BOOL=OFF //Build WebP from source BUILD_WEBP:BOOL=OFF //Include debug info into release binaries ('OFF' means default // settings) BUILD_WITH_DEBUG_INFO:BOOL=ON //Enables dynamic linking of IPP (only for standalone IPP) BUILD_WITH_DYNAMIC_IPP:BOOL=OFF //No help, variable specified on the command line. BUILD_WITH_STATIC_CRT:UNINITIALIZED=0 //Build zlib from source BUILD_ZLIB:BOOL=OFF //Build utility applications (used for example to train classifiers) BUILD_opencv_apps:BOOL=OFF //No help, variable specified on the command line. BUILD_opencv_dnn:UNINITIALIZED=ON //No help, variable specified on the command line. BUILD_opencv_gapi:UNINITIALIZED=ON //No help, variable specified on the command line. BUILD_opencv_java:UNINITIALIZED=OFF //Build JavaScript bindings by Emscripten BUILD_opencv_js:BOOL=OFF //No help, variable specified on the command line. BUILD_opencv_ovis:UNINITIALIZED=OFF //No help, variable specified on the command line. BUILD_opencv_python3:UNINITIALIZED=OFF //No help, variable specified on the command line. BUILD_opencv_quality:UNINITIALIZED=OFF //No help, variable specified on the command line. BUILD_opencv_rgbd:UNINITIALIZED=OFF //No help, variable specified on the command line. BUILD_opencv_sfm:UNINITIALIZED=OFF //No help, variable specified on the command line. BUILD_opencv_world:UNINITIALIZED=OFF //Path to a program. CMAKE_ADDR2LINE:FILEPATH=D:/DependentLib/QT/5.14.1/Tools/mingw730_64/bin/addr2line.exe //Path to a program. CMAKE_AR:FILEPATH=D:/DependentLib/QT/5.14.1/Tools/mingw730_64/bin/ar.exe ... Skipped 1153 lines ... HAVE_CXX_WIMPLICIT_FALLTHROUGH_3:INTERNAL=1 //Test HAVE_CXX_WINIT_SELF HAVE_CXX_WINIT_SELF:INTERNAL=1 //Test HAVE_CXX_WMISSING_DECLARATIONS HAVE_CXX_WMISSING_DECLARATIONS:INTERNAL=1 //Test HAVE_CXX_WMISSING_PROTOTYPES HAVE_CXX_WMISSING_PROTOTYPES:INTERNAL= //Test HAVE_CXX_WNON_VIRTUAL_DTOR HAVE_CXX_WNON_VIRTUAL_DTOR:INTERNAL=1 //Test HAVE_CXX_WNO_COMMENT HAVE_CXX_WNO_COMMENT:INTERNAL=1 //Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR:INTERNAL=1 //Test HAVE_CXX_WNO_LONG_LONG HAVE_CXX_WNO_LONG_LONG:INTERNAL=1 //Test HAVE_CXX_WNO_STRICT_OVERFLOW HAVE_CXX_WNO_STRICT_OVERFLOW:INTERNAL=1 //Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS:INTERNAL= //Test HAVE_CXX_WPOINTER_ARITH HAVE_CXX_WPOINTER_ARITH:INTERNAL=1 //Test HAVE_CXX_WRETURN_TYPE HAVE_CXX_WRETURN_TYPE:INTERNAL=1 //Test HAVE_CXX_WSEQUENCE_POINT HAVE_CXX_WSEQUENCE_POINT:INTERNAL=1 //Test HAVE_CXX_WSHADOW HAVE_CXX_WSHADOW:INTERNAL=1 //Test HAVE_CXX_WSIGN_PROMO HAVE_CXX_WSIGN_PROMO:INTERNAL=1 //Test HAVE_CXX_WSTRICT_PROTOTYPES HAVE_CXX_WSTRICT_PROTOTYPES:INTERNAL= //Test HAVE_CXX_WSUGGEST_OVERRIDE HAVE_CXX_WSUGGEST_OVERRIDE:INTERNAL=1 //Test HAVE_CXX_WUNDEF HAVE_CXX_WUNDEF:INTERNAL=1 //Test HAVE_CXX_WUNINITIALIZED HAVE_CXX_WUNINITIALIZED:INTERNAL=1 //Test HAVE_C_FDATA_SECTIONS HAVE_C_FDATA_SECTIONS:INTERNAL=1 //Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION HAVE_C_FDIAGNOSTICS_SHOW_OPTION:INTERNAL=1 //Test HAVE_C_FFUNCTION_SECTIONS HAVE_C_FFUNCTION_SECTIONS:INTERNAL=1 //Test HAVE_C_FOMIT_FRAME_POINTER HAVE_C_FOMIT_FRAME_POINTER:INTERNAL=1 //Test HAVE_C_FSIGNED_CHAR HAVE_C_FSIGNED_CHAR:INTERNAL=1 //Test HAVE_C_FVISIBILITY_HIDDEN HAVE_C_FVISIBILITY_HIDDEN:INTERNAL=1 //Test HAVE_C_FVISIBILITY_INLINES_HIDDEN HAVE_C_FVISIBILITY_INLINES_HIDDEN:INTERNAL= //Test HAVE_C_W HAVE_C_W:INTERNAL=1 //Test HAVE_C_WADDRESS HAVE_C_WADDRESS:INTERNAL=1 //Test HAVE_C_WALL HAVE_C_WALL:INTERNAL=1 //Test HAVE_C_WFORMAT HAVE_C_WFORMAT:INTERNAL=1 //Test HAVE_C_WFORMAT_SECURITY HAVE_C_WFORMAT_SECURITY:INTERNAL=1 //Test HAVE_C_WIMPLICIT_FALLTHROUGH_3 HAVE_C_WIMPLICIT_FALLTHROUGH_3:INTERNAL=1 //Test HAVE_C_WINIT_SELF HAVE_C_WINIT_SELF:INTERNAL=1 //Test HAVE_C_WMISSING_DECLARATIONS HAVE_C_WMISSING_DECLARATIONS:INTERNAL=1 //Test HAVE_C_WMISSING_PROTOTYPES HAVE_C_WMISSING_PROTOTYPES:INTERNAL=1 //Test HAVE_C_WNON_VIRTUAL_DTOR HAVE_C_WNON_VIRTUAL_DTOR:INTERNAL= //Test HAVE_C_WNO_COMMENT HAVE_C_WNO_COMMENT:INTERNAL=1 //Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR:INTERNAL= //Test HAVE_C_WNO_LONG_LONG HAVE_C_WNO_LONG_LONG:INTERNAL=1 //Test HAVE_C_WNO_STRICT_OVERFLOW HAVE_C_WNO_STRICT_OVERFLOW:INTERNAL=1 //Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS:INTERNAL= //Test HAVE_C_WPOINTER_ARITH HAVE_C_WPOINTER_ARITH:INTERNAL=1 //Test HAVE_C_WRETURN_TYPE HAVE_C_WRETURN_TYPE:INTERNAL=1 //Test HAVE_C_WSEQUENCE_POINT HAVE_C_WSEQUENCE_POINT:INTERNAL=1 //Test HAVE_C_WSHADOW HAVE_C_WSHADOW:INTERNAL=1 //Test HAVE_C_WSIGN_PROMO HAVE_C_WSIGN_PROMO:INTERNAL= //Test HAVE_C_WSTRICT_PROTOTYPES HAVE_C_WSTRICT_PROTOTYPES:INTERNAL=1 //Test HAVE_C_WSUGGEST_OVERRIDE HAVE_C_WSUGGEST_OVERRIDE:INTERNAL= //Test HAVE_C_WUNDEF HAVE_C_WUNDEF:INTERNAL=1 //Test HAVE_C_WUNINITIALIZED HAVE_C_WUNINITIALIZED:INTERNAL=1 //Have include D:/vcpkg/installed/x64-mingw-static/include/libpng/png.h HAVE_LIBPNG_PNG_H:INTERNAL= //Have include malloc.h HAVE_MALLOC_H:INTERNAL=1 //Have symbol memalign HAVE_MEMALIGN:INTERNAL= //Have symbol posix_memalign HAVE_POSIX_MEMALIGN:INTERNAL= //Have include pthread.h HAVE_PTHREAD:INTERNAL=1 //ADVANCED property for variable: JPEG_INCLUDE_DIR JPEG_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: JPEG_LIBRARY_DEBUG JPEG_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: JPEG_LIBRARY_RELEASE JPEG_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 LIBLZMA_HAS_AUTO_DECODER:INTERNAL=1 LIBLZMA_HAS_EASY_ENCODER:INTERNAL=1 LIBLZMA_HAS_LZMA_PRESET:INTERNAL=1 //ADVANCED property for variable: LIBLZMA_INCLUDE_DIR LIBLZMA_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LIBLZMA_LIBRARY_DEBUG LIBLZMA_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LIBLZMA_LIBRARY_RELEASE LIBLZMA_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 OPENCV_BUILD_INFO_STR:INTERNAL= OPENCV_DEPHELPER:INTERNAL=D:/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/dephelper //ADVANCED property for variable: OPENCV_DOWNLOAD_PARAMS OPENCV_DOWNLOAD_PARAMS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: OPENCV_DOWNLOAD_TRIES_LIST OPENCV_DOWNLOAD_TRIES_LIST-ADVANCED:INTERNAL=1 //List of OpenCV modules included into the build OPENCV_MODULES_BUILD:INTERNAL= //List of OpenCV modules implicitly disabled due to dependencies OPENCV_MODULES_DISABLED_AUTO:INTERNAL= //List of OpenCV modules which can not be build in current configuration OPENCV_MODULES_DISABLED_FORCE:INTERNAL= //List of OpenCV modules explicitly disabled by user OPENCV_MODULES_DISABLED_USER:INTERNAL= //List of OpenCV modules marked for export OPENCV_MODULES_PUBLIC:INTERNAL= //ADVANCED property for variable: PKG_CONFIG_ARGN PKG_CONFIG_ARGN-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PKG_CONFIG_EXECUTABLE PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PNG_LIBRARY_DEBUG PNG_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PNG_LIBRARY_RELEASE PNG_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PNG_PNG_INCLUDE_DIR PNG_PNG_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: TIFF_INCLUDE_DIR TIFF_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: TIFF_LIBRARY_DEBUG TIFF_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: TIFF_LIBRARY_RELEASE TIFF_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //Install the dependencies listed in your manifest: //\n If this is off, you will have to manually install your dependencies. //\n See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md // for more info. //\n VCPKG_MANIFEST_INSTALL:INTERNAL=OFF //ADVANCED property for variable: VCPKG_VERBOSE VCPKG_VERBOSE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: ZLIB_INCLUDE_DIR ZLIB_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: ZLIB_LIBRARY_DEBUG ZLIB_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: ZLIB_LIBRARY_RELEASE ZLIB_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //Making sure VCPKG_MANIFEST_MODE doesn't change Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=OFF //Vcpkg root directory Z_VCPKG_ROOT_DIR:INTERNAL=D:/vcpkg //linker supports push/pop state _CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE __OPENCV_EXPORTED_EXTERNAL_TARGETS:INTERNAL= //ADVANCED property for variable: _vcpkg_sharpyuv_LIBRARY_DEBUG _vcpkg_sharpyuv_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_sharpyuv_LIBRARY_RELEASE _vcpkg_sharpyuv_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webp_LIBRARY_DEBUG _vcpkg_webp_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webp_LIBRARY_RELEASE _vcpkg_webp_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webpdecoder_LIBRARY_DEBUG _vcpkg_webpdecoder_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webpdecoder_LIBRARY_RELEASE _vcpkg_webpdecoder_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webpdemux_LIBRARY_DEBUG _vcpkg_webpdemux_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webpdemux_LIBRARY_RELEASE _vcpkg_webpdemux_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webpmux_LIBRARY_DEBUG _vcpkg_webpmux_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: _vcpkg_webpmux_LIBRARY_RELEASE _vcpkg_webpmux_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: protobuf_MODULE_COMPATIBLE protobuf_MODULE_COMPATIBLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: protobuf_VERBOSE protobuf_VERBOSE-ADVANCED:INTERNAL=1 ```
D:\vcpkg\buildtrees\opencv4\config-x64-mingw-static-dbg-CMakeConfigureLog.yaml.log ``` --- events: - kind: "message-v1" backtrace: - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:205 (message)" - "CMakeLists.txt:113 (enable_language)" message: | The system is: Windows - - x86_64 - kind: "message-v1" backtrace: - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:113 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/DependentLib/QT/5.14.1/Tools/mingw730_64/bin/x86_64-w64-mingw32-g++.exe Build flags: Id flags: -c;--target=x86_64-windows-gnu The output was: 1 x86_64-w64-mingw32-g++.exe: error: unrecognized command line option '--target=x86_64-windows-gnu' - kind: "message-v1" backtrace: - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:113 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: D:/DependentLib/QT/5.14.1/Tools/mingw730_64/bin/x86_64-w64-mingw32-g++.exe Build flags: Id flags: The output was: 0 Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe" The CXX compiler identification is GNU, found in: D:/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/3.30.1/CompilerIdCXX/a.exe - kind: "message-v1" backtrace: - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:113 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/DependentLib/QT/5.14.1/Tools/mingw730_64/bin/x86_64-w64-mingw32-gcc.exe Build flags: Id flags: -c;--target=x86_64-windows-gnu The output was: 1 x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option '--target=x86_64-windows-gnu' - kind: "message-v1" backtrace: - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:113 (enable_language)" message: | ... Skipped 4727 lines ... - "D:/vcpkg/installed/x64-mingw-static/share/liblzma/vcpkg-cmake-wrapper.cmake:57 (find_package)" - "D:/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)" - "D:/vcpkg/installed/x64-mingw-static/share/tiff/vcpkg-cmake-wrapper.cmake:24 (find_package)" - "D:/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)" - "cmake/OpenCVFindLibsGrfmt.cmake:105 (find_package)" - "CMakeLists.txt:753 (include)" checks: - "Performing Test CMAKE_HAVE_LIBC_PTHREAD" directories: source: "D:/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeScratch/TryCompile-wjksxy" binary: "D:/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeScratch/TryCompile-wjksxy" cmakeVariables: CMAKE_CXX_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_C_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_C_FLAGS: " -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden" CMAKE_C_FLAGS_DEBUG: "-g -O0 -DDEBUG -D_DEBUG" CMAKE_EXE_LINKER_FLAGS: " -Wl,--gc-sections" CMAKE_POSITION_INDEPENDENT_CODE: "ON" VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "D:/vcpkg/scripts/toolchains/mingw.cmake" VCPKG_CRT_LINKAGE: "dynamic" VCPKG_CXX_FLAGS: "" VCPKG_CXX_FLAGS_DEBUG: "" VCPKG_CXX_FLAGS_RELEASE: "" VCPKG_C_FLAGS: "" VCPKG_C_FLAGS_DEBUG: "" VCPKG_C_FLAGS_RELEASE: "" VCPKG_INSTALLED_DIR: "D:/vcpkg/installed" VCPKG_LINKER_FLAGS: "" VCPKG_LINKER_FLAGS_DEBUG: "" VCPKG_LINKER_FLAGS_RELEASE: "" VCPKG_PREFER_SYSTEM_LIBS: "OFF" VCPKG_TARGET_ARCHITECTURE: "x64" VCPKG_TARGET_TRIPLET: "x64-mingw-static" Z_VCPKG_ROOT_DIR: "D:/vcpkg" buildResult: variable: "CMAKE_HAVE_LIBC_PTHREAD" cached: true stdout: | Change Dir: 'D:/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeScratch/TryCompile-wjksxy' Run Build Command(s): D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v cmTC_88b65 [1/2] D:\\DependentLib\\QT\\5.14.1\\Tools\\mingw730_64\\bin\\x86_64-w64-mingw32-gcc.exe -DCMAKE_HAVE_LIBC_PTHREAD -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG -o CMakeFiles/cmTC_88b65.dir/src.c.obj -c D:/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeScratch/TryCompile-wjksxy/src.c [2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && D:\\DependentLib\\QT\\5.14.1\\Tools\\mingw730_64\\bin\\x86_64-w64-mingw32-gcc.exe -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG -Wl,--gc-sections CMakeFiles/cmTC_88b65.dir/src.c.obj -o cmTC_88b65.exe -Wl,--out-implib,libcmTC_88b65.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ." exitCode: 0 - kind: "try_compile-v1" backtrace: - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CheckIncludeFile.cmake:90 (try_compile)" - "cmake/OpenCVFindLibsGrfmt.cmake:259 (check_include_file)" - "CMakeLists.txt:753 (include)" checks: - "Looking for D:/vcpkg/installed/x64-mingw-static/include/libpng/png.h" directories: source: "D:/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeScratch/TryCompile-3aidmg" binary: "D:/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeScratch/TryCompile-3aidmg" cmakeVariables: CMAKE_CXX_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_C_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_C_FLAGS: " -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden" CMAKE_C_FLAGS_DEBUG: "-g -O0 -DDEBUG -D_DEBUG" CMAKE_EXE_LINKER_FLAGS: " -Wl,--gc-sections" CMAKE_POSITION_INDEPENDENT_CODE: "ON" VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "D:/vcpkg/scripts/toolchains/mingw.cmake" VCPKG_CRT_LINKAGE: "dynamic" VCPKG_CXX_FLAGS: "" VCPKG_CXX_FLAGS_DEBUG: "" VCPKG_CXX_FLAGS_RELEASE: "" VCPKG_C_FLAGS: "" VCPKG_C_FLAGS_DEBUG: "" VCPKG_C_FLAGS_RELEASE: "" VCPKG_INSTALLED_DIR: "D:/vcpkg/installed" VCPKG_LINKER_FLAGS: "" VCPKG_LINKER_FLAGS_DEBUG: "" VCPKG_LINKER_FLAGS_RELEASE: "" VCPKG_PREFER_SYSTEM_LIBS: "OFF" VCPKG_TARGET_ARCHITECTURE: "x64" VCPKG_TARGET_TRIPLET: "x64-mingw-static" Z_VCPKG_ROOT_DIR: "D:/vcpkg" buildResult: variable: "HAVE_LIBPNG_PNG_H" cached: true stdout: | Change Dir: 'D:/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeScratch/TryCompile-3aidmg' Run Build Command(s): D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v cmTC_4bccd [1/2] D:\\DependentLib\\QT\\5.14.1\\Tools\\mingw730_64\\bin\\x86_64-w64-mingw32-gcc.exe -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG -o CMakeFiles/cmTC_4bccd.dir/CheckIncludeFile.c.obj -c D:/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeScratch/TryCompile-3aidmg/CheckIncludeFile.c FAILED: CMakeFiles/cmTC_4bccd.dir/CheckIncludeFile.c.obj D:\\DependentLib\\QT\\5.14.1\\Tools\\mingw730_64\\bin\\x86_64-w64-mingw32-gcc.exe -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG -o CMakeFiles/cmTC_4bccd.dir/CheckIncludeFile.c.obj -c D:/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeScratch/TryCompile-3aidmg/CheckIncludeFile.c D:/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeScratch/TryCompile-3aidmg/CheckIncludeFile.c:1:10: fatal error: D:/vcpkg/installed/x64-mingw-static/include/libpng/png.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. exitCode: 1 ... ```
D:\vcpkg\buildtrees\opencv4\config-x64-mingw-static-rel-CMakeConfigureLog.yaml.log ``` --- events: - kind: "message-v1" backtrace: - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:205 (message)" - "CMakeLists.txt:113 (enable_language)" message: | The system is: Windows - - x86_64 - kind: "message-v1" backtrace: - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:113 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/DependentLib/QT/5.14.1/Tools/mingw730_64/bin/x86_64-w64-mingw32-g++.exe Build flags: Id flags: -c;--target=x86_64-windows-gnu The output was: 1 x86_64-w64-mingw32-g++.exe: error: unrecognized command line option '--target=x86_64-windows-gnu' - kind: "message-v1" backtrace: - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:113 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: D:/DependentLib/QT/5.14.1/Tools/mingw730_64/bin/x86_64-w64-mingw32-g++.exe Build flags: Id flags: The output was: 0 Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe" The CXX compiler identification is GNU, found in: D:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/3.30.1/CompilerIdCXX/a.exe - kind: "message-v1" backtrace: - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:113 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/DependentLib/QT/5.14.1/Tools/mingw730_64/bin/x86_64-w64-mingw32-gcc.exe Build flags: Id flags: -c;--target=x86_64-windows-gnu The output was: 1 x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option '--target=x86_64-windows-gnu' - kind: "message-v1" backtrace: - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:113 (enable_language)" message: | ... Skipped 4727 lines ... - "D:/vcpkg/installed/x64-mingw-static/share/liblzma/vcpkg-cmake-wrapper.cmake:57 (find_package)" - "D:/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)" - "D:/vcpkg/installed/x64-mingw-static/share/tiff/vcpkg-cmake-wrapper.cmake:24 (find_package)" - "D:/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)" - "cmake/OpenCVFindLibsGrfmt.cmake:105 (find_package)" - "CMakeLists.txt:753 (include)" checks: - "Performing Test CMAKE_HAVE_LIBC_PTHREAD" directories: source: "D:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeScratch/TryCompile-obpmbd" binary: "D:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeScratch/TryCompile-obpmbd" cmakeVariables: CMAKE_CXX_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_C_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_C_FLAGS: " -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden" CMAKE_C_FLAGS_RELEASE: "-O3 -DNDEBUG -DNDEBUG -g1" CMAKE_EXE_LINKER_FLAGS: " -Wl,--gc-sections" CMAKE_POSITION_INDEPENDENT_CODE: "ON" VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "D:/vcpkg/scripts/toolchains/mingw.cmake" VCPKG_CRT_LINKAGE: "dynamic" VCPKG_CXX_FLAGS: "" VCPKG_CXX_FLAGS_DEBUG: "" VCPKG_CXX_FLAGS_RELEASE: "" VCPKG_C_FLAGS: "" VCPKG_C_FLAGS_DEBUG: "" VCPKG_C_FLAGS_RELEASE: "" VCPKG_INSTALLED_DIR: "D:/vcpkg/installed" VCPKG_LINKER_FLAGS: "" VCPKG_LINKER_FLAGS_DEBUG: "" VCPKG_LINKER_FLAGS_RELEASE: "" VCPKG_PREFER_SYSTEM_LIBS: "OFF" VCPKG_TARGET_ARCHITECTURE: "x64" VCPKG_TARGET_TRIPLET: "x64-mingw-static" Z_VCPKG_ROOT_DIR: "D:/vcpkg" buildResult: variable: "CMAKE_HAVE_LIBC_PTHREAD" cached: true stdout: | Change Dir: 'D:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeScratch/TryCompile-obpmbd' Run Build Command(s): D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v cmTC_64c51 [1/2] D:\\DependentLib\\QT\\5.14.1\\Tools\\mingw730_64\\bin\\x86_64-w64-mingw32-gcc.exe -DCMAKE_HAVE_LIBC_PTHREAD -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG -g1 -o CMakeFiles/cmTC_64c51.dir/src.c.obj -c D:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeScratch/TryCompile-obpmbd/src.c [2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && D:\\DependentLib\\QT\\5.14.1\\Tools\\mingw730_64\\bin\\x86_64-w64-mingw32-gcc.exe -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG -g1 -Wl,--gc-sections CMakeFiles/cmTC_64c51.dir/src.c.obj -o cmTC_64c51.exe -Wl,--out-implib,libcmTC_64c51.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ." exitCode: 0 - kind: "try_compile-v1" backtrace: - "D:/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/CheckIncludeFile.cmake:90 (try_compile)" - "cmake/OpenCVFindLibsGrfmt.cmake:259 (check_include_file)" - "CMakeLists.txt:753 (include)" checks: - "Looking for D:/vcpkg/installed/x64-mingw-static/include/libpng/png.h" directories: source: "D:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeScratch/TryCompile-0z2c15" binary: "D:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeScratch/TryCompile-0z2c15" cmakeVariables: CMAKE_CXX_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_C_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_C_FLAGS: " -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden" CMAKE_C_FLAGS_RELEASE: "-O3 -DNDEBUG -DNDEBUG -g1" CMAKE_EXE_LINKER_FLAGS: " -Wl,--gc-sections" CMAKE_POSITION_INDEPENDENT_CODE: "ON" VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "D:/vcpkg/scripts/toolchains/mingw.cmake" VCPKG_CRT_LINKAGE: "dynamic" VCPKG_CXX_FLAGS: "" VCPKG_CXX_FLAGS_DEBUG: "" VCPKG_CXX_FLAGS_RELEASE: "" VCPKG_C_FLAGS: "" VCPKG_C_FLAGS_DEBUG: "" VCPKG_C_FLAGS_RELEASE: "" VCPKG_INSTALLED_DIR: "D:/vcpkg/installed" VCPKG_LINKER_FLAGS: "" VCPKG_LINKER_FLAGS_DEBUG: "" VCPKG_LINKER_FLAGS_RELEASE: "" VCPKG_PREFER_SYSTEM_LIBS: "OFF" VCPKG_TARGET_ARCHITECTURE: "x64" VCPKG_TARGET_TRIPLET: "x64-mingw-static" Z_VCPKG_ROOT_DIR: "D:/vcpkg" buildResult: variable: "HAVE_LIBPNG_PNG_H" cached: true stdout: | Change Dir: 'D:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeScratch/TryCompile-0z2c15' Run Build Command(s): D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v cmTC_e6b57 [1/2] D:\\DependentLib\\QT\\5.14.1\\Tools\\mingw730_64\\bin\\x86_64-w64-mingw32-gcc.exe -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG -g1 -o CMakeFiles/cmTC_e6b57.dir/CheckIncludeFile.c.obj -c D:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeScratch/TryCompile-0z2c15/CheckIncludeFile.c FAILED: CMakeFiles/cmTC_e6b57.dir/CheckIncludeFile.c.obj D:\\DependentLib\\QT\\5.14.1\\Tools\\mingw730_64\\bin\\x86_64-w64-mingw32-gcc.exe -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG -g1 -o CMakeFiles/cmTC_e6b57.dir/CheckIncludeFile.c.obj -c D:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeScratch/TryCompile-0z2c15/CheckIncludeFile.c D:/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeScratch/TryCompile-0z2c15/CheckIncludeFile.c:1:10: fatal error: D:/vcpkg/installed/x64-mingw-static/include/libpng/png.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. exitCode: 1 ... ```
dg0yt commented 1 day ago

Toolchain too old? Similar to #42022.