microsoft / vcpkg

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

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

Open Cateds opened 22 hours ago

Cateds commented 22 hours ago

Package: opencv4[calib3d,core,default-features,dnn,dshow,fs,gapi,highgui,intrinsics,jpeg,png,quirc,thread,tiff,webp,win32ui]:x64-mingw-static@4.10.0#1

Host Environment

To Reproduce

vcpkg install opencv:x64-mingw-static

Failure logs

-- Using cached opencv-opencv-4.10.0.tar.gz.
-- Cleaning sources at D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/MyDocs/Applications/PortableApps/vcpkg/downloads/opencv-opencv-4.10.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 0014-fix-cmake-in-list.patch
-- Applying patch 0015-fix-freetype.patch
-- Applying patch 0017-fix-flatbuffers.patch
-- Applying patch 0019-opencl-kernel.patch
-- Applying patch 0020-miss-openexr.patch
-- Using source at D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean
-- Using cached opencv-cache/tiny_dnn/adb1c512e09ca2c7a6faef36f9c53e59-v1.0.0a3.tar.gz.
-- Found external ninja('1.11.1').
-- Configuring x64-mingw-static
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: "C:/Program Files/STMicroelectronics/STM32CubeCLT_1.16.0/Ninja/bin/ninja.exe" -v
    Working Directory: D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\MyDocs\Applications\PortableApps\vcpkg\buildtrees\opencv4\config-x64-mingw-static-dbg-CMakeCache.txt.log
      D:\MyDocs\Applications\PortableApps\vcpkg\buildtrees\opencv4\config-x64-mingw-static-rel-CMakeCache.txt.log
      D:\MyDocs\Applications\PortableApps\vcpkg\buildtrees\opencv4\config-x64-mingw-static-dbg-CMakeConfigureLog.yaml.log
      D:\MyDocs\Applications\PortableApps\vcpkg\buildtrees\opencv4\config-x64-mingw-static-rel-CMakeConfigureLog.yaml.log
      D:\MyDocs\Applications\PortableApps\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:332 (vcpkg_cmake_configure)
  scripts/ports.cmake:196 (include)
D:\MyDocs\Applications\PortableApps\vcpkg\buildtrees\opencv4\config-x64-mingw-static-out.log ``` [1/2] "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/bin/cmake.exe" -E chdir "../../x64-mingw-static-dbg" "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/bin/cmake.exe" "D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/MyDocs/Applications/PortableApps/vcpkg/packages/opencv4_x64-mingw-static/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DENABLE_CONFIG_VERIFICATION=ON" "-DOPENCV_SKIP_SYSTEM_PROCESSOR_DETECTION=TRUE" "-DAARCH64=" "-DX86_64=1" "-DX86=" "-DARM=" "-DCMAKE_CXX_STANDARD=17" "-DINSTALL_TO_MANGLED_PATHS=OFF" "-DOpenCV_INSTALL_BINARIES_PREFIX=" "-DOPENCV_BIN_INSTALL_PATH=bin" "-DOPENCV_INCLUDE_INSTALL_PATH=include/opencv4" "-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" "-DOPENCV_GENERATE_PKGCONFIG=ON" "-DBUILD_DOCS=OFF" "-DBUILD_EXAMPLES=OFF" "-DBUILD_PERF_TESTS=OFF" "-DBUILD_TESTS=OFF" "-Dade_DIR=D:/MyDocs/Applications/PortableApps/vcpkg/installed/x64-mingw-static/share/ade" "-DBUILD_IPP_IW=OFF" "-DBUILD_ITT=OFF" "-DBUILD_JASPER=OFF" "-DBUILD_JPEG=OFF" "-DBUILD_OPENEXR=OFF" "-DBUILD_OPENJPEG=OFF" "-DBUILD_PNG=OFF" "-DBUILD_PROTOBUF=OFF" "-DBUILD_TBB=OFF" "-DBUILD_TIFF=OFF" "-DBUILD_WEBP=OFF" "-DBUILD_ZLIB=OFF" "-DBUILD_opencv_apps=OFF" "-DBUILD_opencv_java=OFF" "-DBUILD_opencv_js=OFF" "-DBUILD_JAVA=OFF" "-DBUILD_ANDROID_PROJECT=OFF" "-DBUILD_ANDROID_EXAMPLES=OFF" "-DBUILD_PACKAGE=OFF" "-DBUILD_WITH_DEBUG_INFO=ON" "-DBUILD_WITH_STATIC_CRT=0" "-DCURRENT_INSTALLED_DIR=D:/MyDocs/Applications/PortableApps/vcpkg/installed/x64-mingw-static" "-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:/MyDocs/Applications/PortableApps/vcpkg/downloads/opencv-cache" "-DOPENCV_OTHER_INSTALL_PATH=share/opencv4" "-DWITH_ADE=OFF" "-DBUILD_opencv_calib3d=ON" "-DWITH_CONTRIB=OFF" "-DWITH_CUBLAS=OFF" "-DWITH_CUDA=OFF" "-DENABLE_CUDA_FIRST_CLASS_LANGUAGE=OFF" "-DWITH_CUDNN=OFF" "-DWITH_1394=OFF" "-DBUILD_opencv_dnn=ON" "-DPROTOBUF_UPDATE_FILES=ON" "-DUPDATE_PROTO_FILES=ON" "-DWITH_PROTOBUF=ON" "-DOPENCV_DNN_CUDA=OFF" "-DWITH_DSHOW=ON" "-DWITH_EIGEN=OFF" "-DWITH_FFMPEG=OFF" "-DWITH_FREETYPE=OFF" "-DBUILD_opencv_gapi=ON" "-DWITH_GDCM=OFF" "-DWITH_GSTREAMER=OFF" "-DWITH_GTK=OFF" "-DWITH_HALIDE=OFF" "-DWITH_IPP=OFF" "-DBUILD_IPP_IW=OFF" "-DBUILD_opencv_highgui=ON" "-DCV_ENABLE_INTRINSICS=ON" "-DWITH_JASPER=OFF" "-DWITH_OPENJPEG=OFF" "-DWITH_OPENMP=OFF" "-DWITH_JPEG=ON" "-DWITH_LAPACK=OFF" "-DDOPENCV_LAPACK_FIND_PACKAGE_ONLY=OFF" "-DWITH_MSMF=OFF" "-DOPENCV_ENABLE_NONFREE=OFF" "-DOPENCV_ENABLE_FILESYSTEM_SUPPORT=ON" "-DOPENCV_ENABLE_THREAD_SUPPORT=ON" "-DWITH_OPENCL=OFF" "-DWITH_OPENVINO=OFF" "-DWITH_OPENEXR=OFF" "-DWITH_OPENGL=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_OGRE=OFF" "-DBUILD_opencv_ovis=OFF" "-DWITH_PNG=ON" "-DBUILD_opencv_python3=OFF" "-DWITH_PYTHON=OFF" "-DBUILD_opencv_quality=OFF" "-DWITH_QUIRC=ON" "-DBUILD_opencv_rgbd=OFF" "-DBUILD_opencv_sfm=OFF" "-DWITH_TBB=OFF" "-DWITH_TIFF=ON" "-DWITH_VTK=OFF" "-DWITH_VULKAN=OFF" "-DWITH_WEBP=ON" "-DWITH_WIN32UI=ON" "-DBUILD_opencv_world=OFF" "-DWITH_QT=OFF" "-DWITH_MATLAB=OFF" "-DWITH_OPENJPEG=OFF" "-DWITH_CPUFEATURES=OFF" "-DWITH_SPNG=OFF" "-DWITH_OPENCLAMDFFT=OFF" "-DWITH_OPENCLAMDBLAS=OFF" "-DWITH_OPENCL_D3D11_NV=OFF" "-DWITH_ITT=OFF" "-DWITH_NVCUVID=OFF" "-DWITH_NVCUVENC=OFF" "-DWITH_AVIF=OFF" "-DWITH_VA=OFF" "-DWITH_VA_INTEL=OFF" "-DWITH_OBSENSOR=OFF" "-DBUILD_opencv_quality=OFF" "-DBUILD_opencv_rgbd=OFF" "-DOPENCV_LAPACK_SHARED_LIBS=OFF" "-DOPENCV_DISABLE_FILESYSTEM_SUPPORT=" "-DCV_ENABLE_INTRINSICS=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/STMicroelectronics/STM32CubeCLT_1.16.0/Ninja/bin/ninja.exe" "-DCMAKE_SYSTEM_NAME=MinGW" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_ ... Skipped 1581 lines ... Call Stack (most recent call first): CMakeLists.txt:1306 (ocv_get_all_libs) CMake Warning at cmake/OpenCVUtils.cmake:1731 (message): Unexpected CMake generator expression: $<$:D:/MyDocs/Applications/PortableApps/vcpkg/installed/x64-mingw-static/debug/lib/libzlibd.a> Call Stack (most recent call first): CMakeLists.txt:1306 (ocv_get_all_libs) -- Extra dependencies: protobuf::libprotobuf comctl32 gdi32 ole32 setupapi ws2_32 quirc::quirc pthread -- 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: WIN32UI -- Win32 UI: YES -- -- Media I/O: -- ZLib: optimized D:/MyDocs/Applications/PortableApps/vcpkg/installed/x64-mingw-static/lib/libzlib.a debug D:/MyDocs/Applications/PortableApps/vcpkg/installed/x64-mingw-static/debug/lib/libzlibd.a (ver 1.3.1) -- JPEG: optimized D:/MyDocs/Applications/PortableApps/vcpkg/installed/x64-mingw-static/lib/libjpeg.a debug D:/MyDocs/Applications/PortableApps/vcpkg/installed/x64-mingw-static/debug/lib/libjpeg.a (ver 62) -- WEBP: (ver 1.4.0) -- PNG: optimized D:/MyDocs/Applications/PortableApps/vcpkg/installed/x64-mingw-static/lib/libpng16.a debug D:/MyDocs/Applications/PortableApps/vcpkg/installed/x64-mingw-static/debug/lib/libpng16d.a (ver 1.6.44) -- TIFF: optimized D:/MyDocs/Applications/PortableApps/vcpkg/installed/x64-mingw-static/lib/libtiff.a debug D:/MyDocs/Applications/PortableApps/vcpkg/installed/x64-mingw-static/debug/lib/libtiffd.a (ver 42 / 4.7.0) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- PFM: YES -- -- Video I/O: -- DirectShow: YES -- -- Parallel framework: pthreads -- -- Trace: YES (built-in) -- -- Other third-party libraries: -- Custom HAL: NO -- Protobuf: optimized D:/MyDocs/Applications/PortableApps/vcpkg/installed/x64-mingw-static/lib/libprotobuf.a debug D:/MyDocs/Applications/PortableApps/vcpkg/installed/x64-mingw-static/debug/lib/libprotobufd.a version (28.3.0) -- Flatbuffers: 23.5.26 -- -- Python (for build): NO -- -- Install to: D:/MyDocs/Applications/PortableApps/vcpkg/packages/opencv4_x64-mingw-static -- ----------------------------------------------------------------- -- -- Verifying WITH_1394=OFF => 'HAVE_DC1394_2'=FALSE -- Verifying WITH_AVFOUNDATION= => 'HAVE_AVFOUNDATION'=FALSE -- Verifying WITH_AVIF=OFF => 'HAVE_AVIF'=FALSE -- Verifying WITH_CAP_IOS= => 'HAVE_CAP_IOS'=FALSE -- Verifying WITH_CPUFEATURES=OFF => 'HAVE_CPUFEATURES'=FALSE -- Verifying WITH_VTK=OFF => 'HAVE_VTK'=FALSE -- Verifying WITH_CUDA=OFF => 'HAVE_CUDA'=FALSE -- Verifying WITH_CUFFT= => 'HAVE_CUFFT'=FALSE -- Verifying WITH_CUBLAS=OFF => 'HAVE_CUBLAS'=FALSE -- Verifying WITH_CUDNN=OFF => 'HAVE_CUDNN'=FALSE -- Verifying WITH_NVCUVID=OFF => 'HAVE_NVCUVID'=FALSE -- Verifying WITH_NVCUVENC=OFF => 'HAVE_NVCUVENC'=FALSE -- Verifying WITH_EIGEN=OFF => 'HAVE_EIGEN'=FALSE -- Verifying WITH_FFMPEG=OFF => 'HAVE_FFMPEG'=FALSE -- Verifying WITH_GSTREAMER=OFF => 'HAVE_GSTREAMER;AND;GSTREAMER_VERSION;VERSION_GREATER;0.99'=FALSE -- Verifying WITH_GTK=OFF => 'HAVE_GTK'=FALSE -- Verifying WITH_GTK_2_X= => 'HAVE_GTK;AND;NOT;HAVE_GTK3'=FALSE -- Verifying WITH_WAYLAND= => 'HAVE_WAYLAND'=FALSE -- Verifying WITH_IPP=OFF => 'HAVE_IPP'=FALSE -- Verifying WITH_HALIDE=OFF => 'HAVE_HALIDE'=FALSE -- Verifying WITH_VULKAN=OFF => 'HAVE_VULKAN'=FALSE -- Verifying WITH_OPENVINO=OFF => 'TARGET;ocv.3rdparty.openvino'=FALSE -- Verifying WITH_WEBNN=OFF => 'HAVE_WEBNN'=FALSE -- Verifying WITH_JASPER=OFF => 'HAVE_JASPER'=FALSE -- Verifying WITH_OPENJPEG=OFF => 'HAVE_OPENJPEG'=FALSE -- Verifying WITH_JPEG=ON => 'HAVE_JPEG'=TRUE -- Verifying WITH_WEBP=ON => 'HAVE_WEBP'=TRUE -- Verifying WITH_OPENEXR=OFF => 'HAVE_OPENEXR'=FALSE -- Verifying WITH_OPENGL=OFF => 'HAVE_OPENGL'=FALSE -- Verifying WITH_OPENVX=OFF => 'HAVE_OPENVX'=FALSE -- Verifying WITH_OPENNI=OFF => 'HAVE_OPENNI'=FALSE -- Verifying WITH_OPENNI2=OFF => 'HAVE_OPENNI2'=FALSE -- Verifying WITH_PNG=ON => 'HAVE_PNG'=TRUE -- Verifying WITH_SPNG=OFF => 'HAVE_SPNG'=FALSE -- Verifying WITH_GDCM=OFF => 'HAVE_GDCM'=FALSE -- Verifying WITH_PVAPI=OFF => 'HAVE_PVAPI'=FALSE -- Verifying WITH_ARAVIS= => 'HAVE_ARAVIS_API'=FALSE -- Verifying WITH_QT=OFF => 'HAVE_QT'=FALSE -- Verifying WITH_WIN32UI=ON => 'HAVE_WIN32UI'=TRUE -- Verifying WITH_TBB=OFF => 'HAVE_TBB'=FALSE -- Verifying WITH_HPX=OFF => 'HAVE_HPX'=FALSE -- Verifying WITH_OPENMP=OFF => 'HAVE_OPENMP'=FALSE -- Verifying WITH_PTHREADS_PF=ON => 'HAVE_PTHREADS_PF'=TRUE -- Verifying WITH_TIFF=ON => 'HAVE_TIFF'=TRUE -- Verifying WITH_V4L= => 'HAVE_CAMV4L;OR;HAVE_CAMV4L2;OR;HAVE_VIDEOIO'=FALSE -- Verifying WITH_DSHOW=ON => 'HAVE_DSHOW'=TRUE -- Verifying WITH_MSMF=OFF => 'HAVE_MSMF'=FALSE -- Verifying WITH_MSMF_DXVA=OFF => 'HAVE_MSMF_DXVA'=FALSE -- Verifying WITH_XIMEA=OFF => 'HAVE_XIMEA'=FALSE -- Verifying WITH_UEYE=OFF => 'HAVE_UEYE'=FALSE -- Verifying WITH_XINE= => 'HAVE_XINE'=FALSE -- Verifying WITH_CLP=OFF => 'HAVE_CLP'=FALSE -- Verifying WITH_OPENCL=OFF => 'HAVE_OPENCL'=FALSE -- Verifying WITH_OPENCL_SVM=OFF => 'HAVE_OPENCL_SVM'=FALSE -- Verifying WITH_OPENCLAMDFFT=OFF => 'HAVE_CLAMDFFT'=FALSE -- Verifying WITH_OPENCLAMDBLAS=OFF => 'HAVE_CLAMDBLAS'=FALSE -- Verifying WITH_DIRECTX=ON => 'HAVE_DIRECTX'=TRUE -- Verifying WITH_DIRECTML=ON => 'HAVE_DIRECTML'=FALSE CMake Warning at cmake/OpenCVUtils.cmake:785 (message): Option WITH_DIRECTML is enabled but corresponding dependency have not been found: "HAVE_DIRECTML" is FALSE Call Stack (most recent call first): CMakeLists.txt:1974 (ocv_verify_config) -- Verifying WITH_OPENCL_D3D11_NV=OFF => 'HAVE_OPENCL_D3D11_NV'=FALSE -- Verifying WITH_LIBREALSENSE=OFF => 'HAVE_LIBREALSENSE'=FALSE -- Verifying WITH_VA=OFF => 'HAVE_VA'=FALSE -- Verifying WITH_VA_INTEL=OFF => 'HAVE_VA_INTEL'=FALSE -- Verifying WITH_MFX= => 'HAVE_MFX'=FALSE -- Verifying WITH_GDAL=OFF => 'HAVE_GDAL'=FALSE -- Verifying WITH_GPHOTO2= => 'HAVE_GPHOTO2'=FALSE -- Verifying WITH_LAPACK=OFF => 'HAVE_LAPACK'=FALSE -- Verifying WITH_ITT=OFF => 'HAVE_ITT'=FALSE -- Verifying WITH_PROTOBUF=ON => 'HAVE_PROTOBUF'=TRUE -- Verifying WITH_IMGCODEC_HDR=ON => 'HAVE_IMGCODEC_HDR'=TRUE -- Verifying WITH_IMGCODEC_SUNRASTER=ON => 'HAVE_IMGCODEC_SUNRASTER'=TRUE -- Verifying WITH_IMGCODEC_PXM=ON => 'HAVE_IMGCODEC_PXM'=TRUE -- Verifying WITH_IMGCODEC_PFM=ON => 'HAVE_IMGCODEC_PFM'=TRUE -- Verifying WITH_QUIRC=ON => 'HAVE_QUIRC'=TRUE -- Verifying WITH_ANDROID_MEDIANDK= => 'HAVE_ANDROID_MEDIANDK'=FALSE -- Verifying WITH_ANDROID_NATIVE_CAMERA= => 'HAVE_ANDROID_NATIVE_CAMERA'=FALSE -- Verifying WITH_ONNX=OFF => 'HAVE_ONNX'=FALSE -- Verifying WITH_TIMVX=OFF => 'HAVE_TIMVX'=FALSE -- Verifying WITH_OBSENSOR=OFF => 'HAVE_OBSENSOR'=FALSE -- Verifying WITH_CANN=OFF => 'HAVE_CANN'=FALSE -- Verifying WITH_FLATBUFFERS=ON => 'HAVE_FLATBUFFERS'=TRUE -- Verifying WITH_ZLIB_NG=OFF => 'HAVE_ZLIB_NG'=FALSE -- Verifying ENABLE_CUDA_FIRST_CLASS_LANGUAGE=OFF => 'HAVE_CUDA'=FALSE CMake Error at cmake/OpenCVUtils.cmake:797 (message): Some dependencies have not been found or have been forced, unset ENABLE_CONFIG_VERIFICATION option to ignore these failures or change following options: WITH_DIRECTML Call Stack (most recent call first): CMakeLists.txt:1974 (ocv_verify_config) -- Configuring incomplete, errors occurred! CMake Warning: Value of OPENCV_BUILD_INFO_STR contained a newline; truncating ninja: build stopped: subcommand failed. ```
D:\MyDocs\Applications\PortableApps\vcpkg\buildtrees\opencv4\config-x64-mingw-static-rel-CMakeCache.txt.log ``` # This is the CMakeCache file. # For build in directory: d:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel # It was generated by CMake: D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/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 //Include opencv_calib3d module into the OpenCV build BUILD_opencv_calib3d:BOOL=ON //Include opencv_core module into the OpenCV build BUILD_opencv_core:BOOL=ON //Include opencv_dnn module into the OpenCV build BUILD_opencv_dnn:BOOL=ON //Include opencv_features2d module into the OpenCV build BUILD_opencv_features2d:BOOL=ON //Include opencv_flann module into the OpenCV build BUILD_opencv_flann:BOOL=ON //No help, variable specified on the command line. BUILD_opencv_gapi:UNINITIALIZED=ON //Include opencv_highgui module into the OpenCV build BUILD_opencv_highgui:BOOL=ON //Include opencv_imgcodecs module into the OpenCV build BUILD_opencv_imgcodecs:BOOL=ON //Include opencv_imgproc module into the OpenCV build BUILD_opencv_imgproc:BOOL=ON //No help, variable specified on the command line. BUILD_opencv_java:UNINITIALIZED=OFF //Include opencv_java_bindings_generator module into the OpenCV // build BUILD_opencv_java_bindings_generator:BOOL=ON //Build JavaScript bindings by Emscripten BUILD_opencv_js:BOOL=OFF ... Skipped 2460 lines ... OPENCV_MODULE_opencv_videoio_LINK_DEPS:INTERNAL= //Location of opencv_videoio module sources OPENCV_MODULE_opencv_videoio_LOCATION:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio //Optional dependencies of opencv_videoio module OPENCV_MODULE_opencv_videoio_OPT_DEPS:INTERNAL= //Optional private dependencies of opencv_videoio module OPENCV_MODULE_opencv_videoio_PRIVATE_OPT_DEPS:INTERNAL= //Required private dependencies of opencv_videoio module OPENCV_MODULE_opencv_videoio_PRIVATE_REQ_DEPS:INTERNAL= //Required dependencies of opencv_videoio module OPENCV_MODULE_opencv_videoio_REQ_DEPS:INTERNAL=opencv_imgproc;opencv_imgcodecs //List of source files for opencv_videoio OPENCV_MODULE_opencv_videoio_SOURCES:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/videoio_registry.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/videoio_c.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/cap.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/cap_images.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/cap_mjpeg_encoder.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/cap_mjpeg_decoder.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/backend_plugin.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/backend_static.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/container_avi.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/cap_dshow.cpp //List of wrappers supporting module opencv_videoio OPENCV_MODULE_opencv_videoio_WRAPPERS:INTERNAL=java;objc;python //The category of the module OPENCV_MODULE_opencv_world_CLASS:INTERNAL=PUBLIC //Brief description of opencv_world module OPENCV_MODULE_opencv_world_DESCRIPTION:INTERNAL=All OpenCV modules OPENCV_MODULE_opencv_world_IS_PART_OF_WORLD:INTERNAL=OFF OPENCV_MODULE_opencv_world_LABEL:INTERNAL=Main;opencv_world OPENCV_MODULE_opencv_world_LINK_DEPS:INTERNAL= //Location of opencv_world module sources OPENCV_MODULE_opencv_world_LOCATION:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/world //Optional dependencies of opencv_world module OPENCV_MODULE_opencv_world_OPT_DEPS:INTERNAL=opencv_calib3d;opencv_core;opencv_dnn;opencv_features2d;opencv_flann;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_ml;opencv_objdetect;opencv_photo;opencv_stitching;opencv_video;opencv_videoio //Optional private dependencies of opencv_world module OPENCV_MODULE_opencv_world_PRIVATE_OPT_DEPS:INTERNAL= //Required private dependencies of opencv_world module OPENCV_MODULE_opencv_world_PRIVATE_REQ_DEPS:INTERNAL= //Required dependencies of opencv_world module OPENCV_MODULE_opencv_world_REQ_DEPS:INTERNAL=opencv_core //List of wrappers supporting module opencv_world OPENCV_MODULE_opencv_world_WRAPPERS:INTERNAL= OPENCV_OBJC_BINDINGS_DIR:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/modules/objc_bindings_generator OPENCV_PYTHON_BINDINGS_DIR:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/modules/python_bindings_generator OPENCV_PYTHON_SIGNATURES_FILE:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/modules/python_bindings_generator/pyopencv_signatures.json OPENCV_PYTHON_TESTS_CONFIG_FILE:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/opencv_python_tests.cfg OPENCV_PYTHON_TESTS_CONFIG_FILE_DIR:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel //List of OpenCV modules included into the world OPENCV_WORLD_MODULES:INTERNAL= //List of OpenCVModules targets OpenCVModules_TARGETS:INTERNAL=opencv_core;opencv_flann;opencv_imgproc;opencv_ml;opencv_photo;opencv_dnn;opencv_features2d;opencv_imgcodecs;opencv_videoio;opencv_calib3d;opencv_highgui;opencv_objdetect;opencv_stitching;opencv_video //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: VIDEOIO_ENABLE_PLUGINS VIDEOIO_ENABLE_PLUGINS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VIDEOIO_PLUGIN_LIST VIDEOIO_PLUGIN_LIST-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:/MyDocs/Applications/PortableApps/vcpkg //linker supports push/pop state _CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE __OPENCV_CMAKE_HOOKS_INIT_MODULE_SOURCES_opencv_dnn:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake __OPENCV_EXPORTED_EXTERNAL_TARGETS:INTERNAL=ocv.3rdparty.flatbuffers;ocv.3rdparty.dshow;ocv.3rdparty.win32ui //Result of TRY_COMPILE __VALID_DIRECTML:INTERNAL=FALSE //Result of TRY_COMPILE __VALID_DIRECTX:INTERNAL=TRUE //Result of TRY_COMPILE __VALID_DIRECTX_NV12:INTERNAL=TRUE //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_VERBOSE protobuf_VERBOSE-ADVANCED:INTERNAL=1 ```
D:\MyDocs\Applications\PortableApps\vcpkg\buildtrees\opencv4\config-x64-mingw-static-dbg-CMakeCache.txt.log ``` # This is the CMakeCache file. # For build in directory: d:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg # It was generated by CMake: D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/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 //Include opencv_calib3d module into the OpenCV build BUILD_opencv_calib3d:BOOL=ON //Include opencv_core module into the OpenCV build BUILD_opencv_core:BOOL=ON //Include opencv_dnn module into the OpenCV build BUILD_opencv_dnn:BOOL=ON //Include opencv_features2d module into the OpenCV build BUILD_opencv_features2d:BOOL=ON //Include opencv_flann module into the OpenCV build BUILD_opencv_flann:BOOL=ON //No help, variable specified on the command line. BUILD_opencv_gapi:UNINITIALIZED=ON //Include opencv_highgui module into the OpenCV build BUILD_opencv_highgui:BOOL=ON //Include opencv_imgcodecs module into the OpenCV build BUILD_opencv_imgcodecs:BOOL=ON //Include opencv_imgproc module into the OpenCV build BUILD_opencv_imgproc:BOOL=ON //No help, variable specified on the command line. BUILD_opencv_java:UNINITIALIZED=OFF //Include opencv_java_bindings_generator module into the OpenCV // build BUILD_opencv_java_bindings_generator:BOOL=ON //Build JavaScript bindings by Emscripten BUILD_opencv_js:BOOL=OFF ... Skipped 2459 lines ... OPENCV_MODULE_opencv_videoio_LABEL:INTERNAL=Main;opencv_videoio OPENCV_MODULE_opencv_videoio_LINK_DEPS:INTERNAL= //Location of opencv_videoio module sources OPENCV_MODULE_opencv_videoio_LOCATION:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio //Optional dependencies of opencv_videoio module OPENCV_MODULE_opencv_videoio_OPT_DEPS:INTERNAL= //Optional private dependencies of opencv_videoio module OPENCV_MODULE_opencv_videoio_PRIVATE_OPT_DEPS:INTERNAL= //Required private dependencies of opencv_videoio module OPENCV_MODULE_opencv_videoio_PRIVATE_REQ_DEPS:INTERNAL= //Required dependencies of opencv_videoio module OPENCV_MODULE_opencv_videoio_REQ_DEPS:INTERNAL=opencv_imgproc;opencv_imgcodecs //List of source files for opencv_videoio OPENCV_MODULE_opencv_videoio_SOURCES:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/videoio_registry.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/videoio_c.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/cap.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/cap_images.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/cap_mjpeg_encoder.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/cap_mjpeg_decoder.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/backend_plugin.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/backend_static.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/container_avi.cpp;D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/videoio/src/cap_dshow.cpp //List of wrappers supporting module opencv_videoio OPENCV_MODULE_opencv_videoio_WRAPPERS:INTERNAL=java;objc;python //The category of the module OPENCV_MODULE_opencv_world_CLASS:INTERNAL=PUBLIC //Brief description of opencv_world module OPENCV_MODULE_opencv_world_DESCRIPTION:INTERNAL=All OpenCV modules OPENCV_MODULE_opencv_world_IS_PART_OF_WORLD:INTERNAL=OFF OPENCV_MODULE_opencv_world_LABEL:INTERNAL=Main;opencv_world OPENCV_MODULE_opencv_world_LINK_DEPS:INTERNAL= //Location of opencv_world module sources OPENCV_MODULE_opencv_world_LOCATION:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/world //Optional dependencies of opencv_world module OPENCV_MODULE_opencv_world_OPT_DEPS:INTERNAL=opencv_calib3d;opencv_core;opencv_dnn;opencv_features2d;opencv_flann;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_ml;opencv_objdetect;opencv_photo;opencv_stitching;opencv_video;opencv_videoio //Optional private dependencies of opencv_world module OPENCV_MODULE_opencv_world_PRIVATE_OPT_DEPS:INTERNAL= //Required private dependencies of opencv_world module OPENCV_MODULE_opencv_world_PRIVATE_REQ_DEPS:INTERNAL= //Required dependencies of opencv_world module OPENCV_MODULE_opencv_world_REQ_DEPS:INTERNAL=opencv_core //List of wrappers supporting module opencv_world OPENCV_MODULE_opencv_world_WRAPPERS:INTERNAL= OPENCV_OBJC_BINDINGS_DIR:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/modules/objc_bindings_generator OPENCV_PYTHON_BINDINGS_DIR:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/modules/python_bindings_generator OPENCV_PYTHON_SIGNATURES_FILE:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/modules/python_bindings_generator/pyopencv_signatures.json OPENCV_PYTHON_TESTS_CONFIG_FILE:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/opencv_python_tests.cfg OPENCV_PYTHON_TESTS_CONFIG_FILE_DIR:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg //List of OpenCV modules included into the world OPENCV_WORLD_MODULES:INTERNAL= //List of OpenCVModules targets OpenCVModules_TARGETS:INTERNAL=opencv_core;opencv_flann;opencv_imgproc;opencv_ml;opencv_photo;opencv_dnn;opencv_features2d;opencv_imgcodecs;opencv_videoio;opencv_calib3d;opencv_highgui;opencv_objdetect;opencv_stitching;opencv_video //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: VIDEOIO_ENABLE_PLUGINS VIDEOIO_ENABLE_PLUGINS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VIDEOIO_PLUGIN_LIST VIDEOIO_PLUGIN_LIST-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:/MyDocs/Applications/PortableApps/vcpkg //linker supports push/pop state _CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE __OPENCV_CMAKE_HOOKS_INIT_MODULE_SOURCES_opencv_dnn:INTERNAL=D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/src/4.10.0-e5bca385b2.clean/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake __OPENCV_EXPORTED_EXTERNAL_TARGETS:INTERNAL=ocv.3rdparty.flatbuffers;ocv.3rdparty.dshow;ocv.3rdparty.win32ui //Result of TRY_COMPILE __VALID_DIRECTML:INTERNAL=FALSE //Result of TRY_COMPILE __VALID_DIRECTX:INTERNAL=TRUE //Result of TRY_COMPILE __VALID_DIRECTX_NV12:INTERNAL=TRUE //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_VERBOSE protobuf_VERBOSE-ADVANCED:INTERNAL=1 ```
D:\MyDocs\Applications\PortableApps\vcpkg\buildtrees\opencv4\config-x64-mingw-static-dbg-CMakeConfigureLog.yaml.log ``` --- events: - kind: "message-v1" backtrace: - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:205 (message)" - "CMakeLists.txt:127 (enable_language)" message: | The system is: Windows - - x86_64 - kind: "message-v1" backtrace: - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:127 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/MyDocs/Applications/PortableApps/w64devkit-2.0.0/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++: error: unrecognized command-line option '--target=x86_64-windows-gnu' - kind: "message-v1" backtrace: - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:127 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: D:/MyDocs/Applications/PortableApps/w64devkit-2.0.0/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:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/3.30.5/CompilerIdCXX/a.exe - kind: "message-v1" backtrace: - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:127 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/MyDocs/Applications/PortableApps/w64devkit-2.0.0/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: error: unrecognized command-line option '--target=x86_64-windows-gnu' - kind: "message-v1" backtrace: - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:127 (enable_language)" message: | ... Skipped 5282 lines ... CMAKE_CXX_FLAGS_DEBUG: "-g -O0 -DDEBUG -D_DEBUG" CMAKE_C_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_EXE_LINKER_FLAGS: " -Wl,--gc-sections" CMAKE_POSITION_INDEPENDENT_CODE: "ON" VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "D:/MyDocs/Applications/PortableApps/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:/MyDocs/Applications/PortableApps/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:/MyDocs/Applications/PortableApps/vcpkg" buildResult: variable: "HAVE_CXX_WNO_ARRAY_BOUNDS" cached: true stdout: | Change Dir: 'D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeTmp' Run Build Command(s): "C:/Program Files/STMicroelectronics/STM32CubeCLT_1.16.0/Ninja/bin/ninja.exe" -v cmTC_6261c [1/2] D:\\MyDocs\\Applications\\PortableApps\\w64devkit-2.0.0\\bin\\x86_64-w64-mingw32-g++.exe -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -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 -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-sign-compare -Wno-invalid-offsetof -g -O0 -DDEBUG -D_DEBUG -std=c++17 -Wno-array-bounds -o CMakeFiles/cmTC_6261c.dir/src.cxx.obj -c D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeTmp/src.cxx D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring '#pragma ' [-Wunknown-pragmas] 1 | #pragma [2/2] C:\\Windows\\system32\\cmd.exe /C "cd . && D:\\MyDocs\\Applications\\PortableApps\\w64devkit-2.0.0\\bin\\x86_64-w64-mingw32-g++.exe -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -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 -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-sign-compare -Wno-invalid-offsetof -g -O0 -DDEBUG -D_DEBUG -Wl,--gc-sections CMakeFiles/cmTC_6261c.dir/src.cxx.obj -o cmTC_6261c.exe -Wl,--out-implib,libcmTC_6261c.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: - "cmake/OpenCVUtils.cmake:509 (TRY_COMPILE)" - "cmake/OpenCVUtils.cmake:581 (ocv_check_compiler_flag)" - "cmake/OpenCVUtils.cmake:654 (ocv_check_flag_support)" - "modules/imgcodecs/CMakeLists.txt:183 (ocv_warnings_disable)" - "modules/imgcodecs/CMakeLists.txt:187 (ocv_imgcodecs_configure_target)" directories: source: "D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeTmp" binary: "D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeTmp" cmakeVariables: CMAKE_CXX_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_CXX_FLAGS: " -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -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 -fvisibility-inlines-hidden" CMAKE_CXX_FLAGS_DEBUG: "-g -O0 -DDEBUG -D_DEBUG" CMAKE_C_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_EXE_LINKER_FLAGS: " -Wl,--gc-sections" CMAKE_POSITION_INDEPENDENT_CODE: "ON" VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "D:/MyDocs/Applications/PortableApps/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:/MyDocs/Applications/PortableApps/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:/MyDocs/Applications/PortableApps/vcpkg" buildResult: variable: "HAVE_CXX_WNO_DEPRECATED_DECLARATIONS" cached: true stdout: | Change Dir: 'D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeTmp' Run Build Command(s): "C:/Program Files/STMicroelectronics/STM32CubeCLT_1.16.0/Ninja/bin/ninja.exe" -v cmTC_4b46a [1/2] D:\\MyDocs\\Applications\\PortableApps\\w64devkit-2.0.0\\bin\\x86_64-w64-mingw32-g++.exe -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -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 -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG -std=c++17 -Wno-deprecated-declarations -o CMakeFiles/cmTC_4b46a.dir/src.cxx.obj -c D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeTmp/src.cxx D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-dbg/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring '#pragma ' [-Wunknown-pragmas] 1 | #pragma [2/2] C:\\Windows\\system32\\cmd.exe /C "cd . && D:\\MyDocs\\Applications\\PortableApps\\w64devkit-2.0.0\\bin\\x86_64-w64-mingw32-g++.exe -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -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 -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG -Wl,--gc-sections CMakeFiles/cmTC_4b46a.dir/src.cxx.obj -o cmTC_4b46a.exe -Wl,--out-implib,libcmTC_4b46a.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ." exitCode: 0 ... ```
D:\MyDocs\Applications\PortableApps\vcpkg\buildtrees\opencv4\config-x64-mingw-static-rel-CMakeConfigureLog.yaml.log ``` --- events: - kind: "message-v1" backtrace: - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:205 (message)" - "CMakeLists.txt:127 (enable_language)" message: | The system is: Windows - - x86_64 - kind: "message-v1" backtrace: - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:127 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: D:/MyDocs/Applications/PortableApps/w64devkit-2.0.0/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++: error: unrecognized command-line option '--target=x86_64-windows-gnu' - kind: "message-v1" backtrace: - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:127 (enable_language)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: D:/MyDocs/Applications/PortableApps/w64devkit-2.0.0/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:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/3.30.5/CompilerIdCXX/a.exe - kind: "message-v1" backtrace: - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:127 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: D:/MyDocs/Applications/PortableApps/w64devkit-2.0.0/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: error: unrecognized command-line option '--target=x86_64-windows-gnu' - kind: "message-v1" backtrace: - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "D:/MyDocs/Applications/PortableApps/cmake-3.30.5-windows-x86_64/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:127 (enable_language)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. ... Skipped 5280 lines ... CMAKE_CXX_FLAGS: " -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -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 -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-sign-compare -Wno-invalid-offsetof" CMAKE_CXX_FLAGS_RELEASE: "-O3 -DNDEBUG -DNDEBUG -g1" CMAKE_C_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_EXE_LINKER_FLAGS: " -Wl,--gc-sections" CMAKE_POSITION_INDEPENDENT_CODE: "ON" VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "D:/MyDocs/Applications/PortableApps/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:/MyDocs/Applications/PortableApps/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:/MyDocs/Applications/PortableApps/vcpkg" buildResult: variable: "HAVE_CXX_WNO_ARRAY_BOUNDS" cached: true stdout: | Change Dir: 'D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeTmp' Run Build Command(s): "C:/Program Files/STMicroelectronics/STM32CubeCLT_1.16.0/Ninja/bin/ninja.exe" -v cmTC_f20be [1/2] D:\\MyDocs\\Applications\\PortableApps\\w64devkit-2.0.0\\bin\\x86_64-w64-mingw32-g++.exe -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -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 -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-sign-compare -Wno-invalid-offsetof -O3 -DNDEBUG -DNDEBUG -g1 -std=c++17 -Wno-array-bounds -o CMakeFiles/cmTC_f20be.dir/src.cxx.obj -c D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeTmp/src.cxx D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring '#pragma ' [-Wunknown-pragmas] 1 | #pragma [2/2] C:\\Windows\\system32\\cmd.exe /C "cd . && D:\\MyDocs\\Applications\\PortableApps\\w64devkit-2.0.0\\bin\\x86_64-w64-mingw32-g++.exe -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wundef -Winit-self -Wpointer-arith -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -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 -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-sign-compare -Wno-invalid-offsetof -O3 -DNDEBUG -DNDEBUG -g1 -Wl,--gc-sections CMakeFiles/cmTC_f20be.dir/src.cxx.obj -o cmTC_f20be.exe -Wl,--out-implib,libcmTC_f20be.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: - "cmake/OpenCVUtils.cmake:509 (TRY_COMPILE)" - "cmake/OpenCVUtils.cmake:581 (ocv_check_compiler_flag)" - "cmake/OpenCVUtils.cmake:654 (ocv_check_flag_support)" - "modules/imgcodecs/CMakeLists.txt:183 (ocv_warnings_disable)" - "modules/imgcodecs/CMakeLists.txt:187 (ocv_imgcodecs_configure_target)" directories: source: "D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeTmp" binary: "D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeTmp" cmakeVariables: CMAKE_CXX_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_CXX_FLAGS: " -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -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 -fvisibility-inlines-hidden" CMAKE_CXX_FLAGS_RELEASE: "-O3 -DNDEBUG -DNDEBUG -g1" CMAKE_C_COMPILER_TARGET: "x86_64-windows-gnu" CMAKE_EXE_LINKER_FLAGS: " -Wl,--gc-sections" CMAKE_POSITION_INDEPENDENT_CODE: "ON" VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "D:/MyDocs/Applications/PortableApps/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:/MyDocs/Applications/PortableApps/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:/MyDocs/Applications/PortableApps/vcpkg" buildResult: variable: "HAVE_CXX_WNO_DEPRECATED_DECLARATIONS" cached: true stdout: | Change Dir: 'D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeTmp' Run Build Command(s): "C:/Program Files/STMicroelectronics/STM32CubeCLT_1.16.0/Ninja/bin/ninja.exe" -v cmTC_efa28 [1/2] D:\\MyDocs\\Applications\\PortableApps\\w64devkit-2.0.0\\bin\\x86_64-w64-mingw32-g++.exe -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -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 -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG -g1 -std=c++17 -Wno-deprecated-declarations -o CMakeFiles/cmTC_efa28.dir/src.cxx.obj -c D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeTmp/src.cxx D:/MyDocs/Applications/PortableApps/vcpkg/buildtrees/opencv4/x64-mingw-static-rel/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring '#pragma ' [-Wunknown-pragmas] 1 | #pragma [2/2] C:\\Windows\\system32\\cmd.exe /C "cd . && D:\\MyDocs\\Applications\\PortableApps\\w64devkit-2.0.0\\bin\\x86_64-w64-mingw32-g++.exe -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -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 -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG -g1 -Wl,--gc-sections CMakeFiles/cmTC_efa28.dir/src.cxx.obj -o cmTC_efa28.exe -Wl,--out-implib,libcmTC_efa28.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ." exitCode: 0 ... ```
cenit commented 22 hours ago

can you please try #42371 to see if it fixes your error? opencv now has a strict functionality for build reproducibility that if you ask a feature it really wants to give it to you, without silent failure. So if the feature is requested but unavailable on the platform, it fails. DirectML was not handled properly on mingw being silently enabled on all win32 platforms. This could not work and so a new "directml" feature has to emerge