Closed cyh19910216 closed 3 years ago
@cyh19910216 ,Thanks for posting issue. could you please provide the error log:
D:\Development\Library\vcpkg\buildtrees\opencv4\config-x64-windows-out.log
@cyh19910216 ,Thanks for your issue. could you please provide the error log:
D:\Development\Library\vcpkg\buildtrees\opencv4\config-x64-windows-out.log
[1/2] cmd /c "cd .. && "D:/Development/Library/vcpkg/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/bin/cmake.exe" "D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-755f235ba0.clean" "-DOPENCV_SKIP_SYSTEM_PROCESSOR_DETECTION=TRUE" "-DAARCH64=" "-DX86_64=1" "-DX86=" "-DARM=" "-DOpenCV_INSTALL_BINARIES_PREFIX=" "-DOPENCV_BIN_INSTALL_PATH=bin" "-DOPENCV_INCLUDE_INSTALL_PATH=include" "-DOPENCV_LIB_INSTALL_PATH=lib" "-DOPENCV_3P_LIB_INSTALL_PATH=lib" "-DOPENCV_CONFIG_INSTALL_PATH=share/opencv" "-DINSTALL_TO_MANGLED_PATHS=OFF" "-DOPENCV_FFMPEG_USE_FIND_PACKAGE=FFMPEG" "-DOPENCV_FFMPEG_SKIP_BUILD_CHECK=TRUE" "-DCMAKE_DEBUG_POSTFIX=d" "-DOPENCV_DLLVERSION=" "-DOPENCV_DEBUG_POSTFIX=d" "-DOPENCV_GENERATE_SETUPVARS=OFF" "-DBUILD_DOCS=OFF" "-DBUILD_EXAMPLES=OFF" "-Dade_DIR=D:/Development/Library/vcpkg/installed/x64-windows/share/ade" "-DBUILD_JASPER=OFF" "-DBUILD_JPEG=OFF" "-DBUILD_OPENEXR=OFF" "-DBUILD_PNG=OFF" "-DBUILD_TIFF=OFF" "-DBUILD_WEBP=OFF" "-DBUILD_ZLIB=OFF" "-DBUILD_TBB=OFF" "-DBUILD_IPP_IW=OFF" "-DBUILD_ITT=OFF" "-DBUILD_PROTOBUF=OFF" "-DBUILD_opencv_apps=OFF" "-DBUILD_opencv_java=OFF" "-DBUILD_opencv_js=OFF" "-DBUILD_ANDROID_PROJECT=OFF" "-DBUILD_ANDROID_EXAMPLES=OFF" "-DBUILD_PACKAGE=OFF" "-DBUILD_PERF_TESTS=OFF" "-DBUILD_TESTS=OFF" "-DBUILD_WITH_DEBUG_INFO=ON" "-DBUILD_WITH_STATIC_CRT=0" "-DBUILD_JAVA=OFF" "-DCURRENT_INSTALLED_DIR=D:/Development/Library/vcpkg/installed/x64-windows" "-DPROTOBUF_UPDATE_FILES=ON" "-DUPDATE_PROTO_FILES=ON" "-DENABLE_PYLINT=OFF" "-DENABLE_FLAKE8=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_JNI=ON" "-DENABLE_CXX11=ON" "-DOPENCV_DOWNLOAD_PATH=D:/Development/Library/vcpkg/downloads/opencv-cache" "-DOPENCV_EXTRA_MODULES_PATH=D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-58c4f07550.clean/modules" "-DOPENCV_OTHER_INSTALL_PATH=share/opencv" "-DWITH_ADE=OFF" "-DWITH_CONTRIB=ON" "-DWITH_CUBLAS=ON" "-DWITH_CUDA=ON" "-DWITH_EIGEN=OFF" "-DWITH_FFMPEG=OFF" "-DWITH_GDCM=OFF" "-DWITH_HALIDE=OFF" "-DWITH_JASPER=OFF" "-DWITH_JPEG=ON" "-DWITH_LAPACK=OFF" "-DOPENCV_ENABLE_NONFREE=OFF" "-DWITH_OPENEXR=OFF" "-DWITH_OPENGL=OFF" "-DWITH_PNG=ON" "-DWITH_QT=OFF" "-DWITH_QUIRC=ON" "-DBUILD_opencv_sfm=OFF" "-DWITH_TIFF=ON" "-DWITH_VTK=OFF" "-DWITH_WEBP=ON" "-DBUILD_opencv_world=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Halide=ON" "-DHALIDE_ROOT_DIR=D:/Development/Library/vcpkg/installed/x64-windows" "-DWITH_GTK=OFF" "-DWITH_IPP=OFF" "-DWITH_MATLAB=OFF" "-DWITH_MSMF=ON" "-DWITH_OPENMP=OFF" "-DWITH_PROTOBUF=ON" "-DWITH_OPENCLAMDBLAS=OFF" "-DWITH_TBB=OFF" "-DWITH_OPENJPEG=OFF" "-DBUILD_opencv_ovis=OFF" "-DBUILD_opencv_dnn=ON" "-DBUILD_opencv_quality=CMAKE_DEPENDS_IN_PROJECT_ONLY" "-DBUILD_opencv_gapi=ON" "-DBUILD_opencv_rgbd=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Development/Library/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Development/Library/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" "-D_VCPKG_ROOT_DIR=D:/Development/Library/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Development/Library/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/Development/Library/vcpkg/packages/opencv4_x64-windows""
FAILED: ../CMakeCache.txt
cmd /c "cd .. && "D:/Development/Library/vcpkg/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/bin/cmake.exe" "D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-755f235ba0.clean" "-DOPENCV_SKIP_SYSTEM_PROCESSOR_DETECTION=TRUE" "-DAARCH64=" "-DX86_64=1" "-DX86=" "-DARM=" "-DOpenCV_INSTALL_BINARIES_PREFIX=" "-DOPENCV_BIN_INSTALL_PATH=bin" "-DOPENCV_INCLUDE_INSTALL_PATH=include" "-DOPENCV_LIB_INSTALL_PATH=lib" "-DOPENCV_3P_LIB_INSTALL_PATH=lib" "-DOPENCV_CONFIG_INSTALL_PATH=share/opencv" "-DINSTALL_TO_MANGLED_PATHS=OFF" "-DOPENCV_FFMPEG_USE_FIND_PACKAGE=FFMPEG" "-DOPENCV_FFMPEG_SKIP_BUILD_CHECK=TRUE" "-DCMAKE_DEBUG_POSTFIX=d" "-DOPENCV_DLLVERSION=" "-DOPENCV_DEBUG_POSTFIX=d" "-DOPENCV_GENERATE_SETUPVARS=OFF" "-DBUILD_DOCS=OFF" "-DBUILD_EXAMPLES=OFF" "-Dade_DIR=D:/Development/Library/vcpkg/installed/x64-windows/share/ade" "-DBUILD_JASPER=OFF" "-DBUILD_JPEG=OFF" "-DBUILD_OPENEXR=OFF" "-DBUILD_PNG=OFF" "-DBUILD_TIFF=OFF" "-DBUILD_WEBP=OFF" "-DBUILD_ZLIB=OFF" "-DBUILD_TBB=OFF" "-DBUILD_IPP_IW=OFF" "-DBUILD_ITT=OFF" "-DBUILD_PROTOBUF=OFF" "-DBUILD_opencv_apps=OFF" "-DBUILD_opencv_java=OFF" "-DBUILD_opencv_js=OFF" "-DBUILD_ANDROID_PROJECT=OFF" "-DBUILD_ANDROID_EXAMPLES=OFF" "-DBUILD_PACKAGE=OFF" "-DBUILD_PERF_TESTS=OFF" "-DBUILD_TESTS=OFF" "-DBUILD_WITH_DEBUG_INFO=ON" "-DBUILD_WITH_STATIC_CRT=0" "-DBUILD_JAVA=OFF" "-DCURRENT_INSTALLED_DIR=D:/Development/Library/vcpkg/installed/x64-windows" "-DPROTOBUF_UPDATE_FILES=ON" "-DUPDATE_PROTO_FILES=ON" "-DENABLE_PYLINT=OFF" "-DENABLE_FLAKE8=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_JNI=ON" "-DENABLE_CXX11=ON" "-DOPENCV_DOWNLOAD_PATH=D:/Development/Library/vcpkg/downloads/opencv-cache" "-DOPENCV_EXTRA_MODULES_PATH=D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-58c4f07550.clean/modules" "-DOPENCV_OTHER_INSTALL_PATH=share/opencv" "-DWITH_ADE=OFF" "-DWITH_CONTRIB=ON" "-DWITH_CUBLAS=ON" "-DWITH_CUDA=ON" "-DWITH_EIGEN=OFF" "-DWITH_FFMPEG=OFF" "-DWITH_GDCM=OFF" "-DWITH_HALIDE=OFF" "-DWITH_JASPER=OFF" "-DWITH_JPEG=ON" "-DWITH_LAPACK=OFF" "-DOPENCV_ENABLE_NONFREE=OFF" "-DWITH_OPENEXR=OFF" "-DWITH_OPENGL=OFF" "-DWITH_PNG=ON" "-DWITH_QT=OFF" "-DWITH_QUIRC=ON" "-DBUILD_opencv_sfm=OFF" "-DWITH_TIFF=ON" "-DWITH_VTK=OFF" "-DWITH_WEBP=ON" "-DBUILD_opencv_world=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Halide=ON" "-DHALIDE_ROOT_DIR=D:/Development/Library/vcpkg/installed/x64-windows" "-DWITH_GTK=OFF" "-DWITH_IPP=OFF" "-DWITH_MATLAB=OFF" "-DWITH_MSMF=ON" "-DWITH_OPENMP=OFF" "-DWITH_PROTOBUF=ON" "-DWITH_OPENCLAMDBLAS=OFF" "-DWITH_TBB=OFF" "-DWITH_OPENJPEG=OFF" "-DBUILD_opencv_ovis=OFF" "-DBUILD_opencv_dnn=ON" "-DBUILD_opencv_quality=CMAKE_DEPENDS_IN_PROJECT_ONLY" "-DBUILD_opencv_gapi=ON" "-DBUILD_opencv_rgbd=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Development/Library/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Development/Library/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" "-D_VCPKG_ROOT_DIR=D:/Development/Library/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Development/Library/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/Development/Library/vcpkg/packages/opencv4_x64-windows""
-- The CXX compiler identification is MSVC 19.29.30038.1
-- The C compiler identification is MSVC 19.29.30038.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detected processor: AMD64
-- Performing Test HAVE_CXX_FP:PRECISE
-- Performing Test HAVE_CXX_FP:PRECISE - Success
-- Performing Test HAVE_C_FP:PRECISE
-- Performing Test HAVE_C_FP:PRECISE - Success
-- Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp)
-- Performing Test HAVE_CPU_SSE3_SUPPORT - Success
-- Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp)
-- Performing Test HAVE_CPU_SSSE3_SUPPORT - Success
-- Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp)
-- Performing Test HAVE_CPU_SSE4_1_SUPPORT - Success
-- Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp)
-- Performing Test HAVE_CPU_POPCNT_SUPPORT - Success
-- Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp)
-- Performing Test HAVE_CPU_SSE4_2_SUPPORT - Success
-- Performing Test HAVE_CXX_ARCH:AVX (check file: cmake/checks/cpu_fp16.cpp)
-- Performing Test HAVE_CXX_ARCH:AVX - Success
-- Performing Test HAVE_CXX_ARCH:AVX2 (check file: cmake/checks/cpu_avx2.cpp)
-- Performing Test HAVE_CXX_ARCH:AVX2 - Success
-- Performing Test HAVE_CXX_ARCH:AVX512 (check file: cmake/checks/cpu_avx512.cpp)
-- Performing Test HAVE_CXX_ARCH:AVX512 - Success
-- Performing Test HAVE_CPU_BASELINE_FLAGS
-- Performing Test HAVE_CPU_BASELINE_FLAGS - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX - Success
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - found
-- Found ZLIB: optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found suitable version "1.2.11", minimum required is "1.2.3")
-- Found JPEG: optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/jpegd.lib (found version "62")
-- Found TIFF: optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/tiff.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/tiffd.lib (found version "4.3.0")
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Found ZLIB: optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.11")
-- Found PNG: optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/libpng16.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/libpng16d.lib (found version "1.6.37")
-- Looking for D:/Development/Library/vcpkg/installed/x64-windows/include/libpng/png.h
-- Looking for D:/Development/Library/vcpkg/installed/x64-windows/include/libpng/png.h - not found
-- Found CUDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.4/include (Required is at least version "7.5")
-- CUDA detected: 11.4
-- CUDA NVCC target flags: -gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-D_FORCE_INLINES
-- OpenCV Python: during development append to PYTHONPATH: D:/Development/Library/vcpkg/buildtrees/opencv4/x64-windows-rel/python_loader
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Looking for mfapi.h
-- Looking for mfapi.h - found
-- Looking for d3d11_4.h
-- Looking for d3d11_4.h - found
-- Module opencv_alphamat disabled because the following dependencies are not found: Eigen
-- Caffe: NO
-- Found Protobuf: protobuf::libprotobuf (found version "3.15.8")
-- Protobuf: YES
-- Glog: NO
-- freetype2: NO
-- harfbuzz: NO
-- Found HDF5: hdf5::hdf5-shared (found version "1.12.0")
-- Julia not found. Not compiling Julia Bindings.
-- Module opencv_ovis disabled because OGRE3D was not found
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
-- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
-- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h
-- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h
-- Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags
-- Found TIFF: optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/tiff.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/tiffd.lib;optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/lzma.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/lzmad.lib;optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/jpegd.lib;optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "4.3.0")
-- Found GIF: D:/Development/Library/vcpkg/installed/x64-windows/lib/gif.lib (found version "5.1.4")
-- Found LibArchive: D:/Development/Library/vcpkg/installed/x64-windows/lib/archive.lib (found version "3.4.3")
-- Tesseract: YES (ver 4.1.1)
-- Allocator metrics storage type: 'long long'
-- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-755f235ba0.clean/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
-- wechat_qrcode: Download: detect.caffemodel
-- wechat_qrcode: Download: detect.prototxt
-- wechat_qrcode: Download: sr.caffemodel
-- wechat_qrcode: Download: sr.prototxt
-- xfeatures2d/boostdesc: Download: boostdesc_bgm.i
-- xfeatures2d/boostdesc: Download: boostdesc_bgm_bi.i
-- xfeatures2d/boostdesc: Download: boostdesc_bgm_hd.i
-- xfeatures2d/boostdesc: Download: boostdesc_binboost_064.i
-- xfeatures2d/boostdesc: Download: boostdesc_binboost_128.i
-- xfeatures2d/boostdesc: Download: boostdesc_binboost_256.i
-- xfeatures2d/boostdesc: Download: boostdesc_lbgm.i
-- xfeatures2d/vgg: Download: vgg_generated_48.i
-- xfeatures2d/vgg: Download: vgg_generated_64.i
-- xfeatures2d/vgg: Download: vgg_generated_80.i
-- xfeatures2d/vgg: Download: vgg_generated_120.i
-- data: Download: face_landmark_model.dat
-- NVIDIA_OPTICAL_FLOW: Download: edb50da3cf849840d680249aa6dbef248ebce2ca.zip
CMake Error at D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-755f235ba0.clean/cmake/OpenCVDownload.cmake:161 (message):
Downloads are not permitted during configure. Please pre-download the file "D:/Development/Library/vcpkg/downloads/opencv-cache/nvidia_optical_flow/a73cd48b18dcc0cc8933b30796074191-edb50da3cf849840d680249aa6dbef248ebce2ca.zip":
vcpkg_download_distfile(OCV_DOWNLOAD
URLS "https://github.com/NVIDIA/NVIDIAOpticalFlowSDK/archive/edb50da3cf849840d680249aa6dbef248ebce2ca.zip"
FILENAME "opencv-cache/nvidia_optical_flow/a73cd48b18dcc0cc8933b30796074191-edb50da3cf849840d680249aa6dbef248ebce2ca.zip"
SHA512 0
)
Call Stack (most recent call first): D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-58c4f07550.clean/modules/cudaoptflow/CMakeLists.txt:15 (ocv_download)
-- Configuring incomplete, errors occurred!
See also "D:/Development/Library/vcpkg/buildtrees/opencv4/x64-windows-rel/CMakeFiles/CMakeOutput.log".
See also "D:/Development/Library/vcpkg/buildtrees/opencv4/x64-windows-rel/CMakeFiles/CMakeError.log".
[2/2] cmd /c "cd ../../x64-windows-dbg && "D:/Development/Library/vcpkg/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/bin/cmake.exe" "D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-755f235ba0.clean" "-DOPENCV_SKIP_SYSTEM_PROCESSOR_DETECTION=TRUE" "-DAARCH64=" "-DX86_64=1" "-DX86=" "-DARM=" "-DOpenCV_INSTALL_BINARIES_PREFIX=" "-DOPENCV_BIN_INSTALL_PATH=bin" "-DOPENCV_INCLUDE_INSTALL_PATH=include" "-DOPENCV_LIB_INSTALL_PATH=lib" "-DOPENCV_3P_LIB_INSTALL_PATH=lib" "-DOPENCV_CONFIG_INSTALL_PATH=share/opencv" "-DINSTALL_TO_MANGLED_PATHS=OFF" "-DOPENCV_FFMPEG_USE_FIND_PACKAGE=FFMPEG" "-DOPENCV_FFMPEG_SKIP_BUILD_CHECK=TRUE" "-DCMAKE_DEBUG_POSTFIX=d" "-DOPENCV_DLLVERSION=" "-DOPENCV_DEBUG_POSTFIX=d" "-DOPENCV_GENERATE_SETUPVARS=OFF" "-DBUILD_DOCS=OFF" "-DBUILD_EXAMPLES=OFF" "-Dade_DIR=D:/Development/Library/vcpkg/installed/x64-windows/share/ade" "-DBUILD_JASPER=OFF" "-DBUILD_JPEG=OFF" "-DBUILD_OPENEXR=OFF" "-DBUILD_PNG=OFF" "-DBUILD_TIFF=OFF" "-DBUILD_WEBP=OFF" "-DBUILD_ZLIB=OFF" "-DBUILD_TBB=OFF" "-DBUILD_IPP_IW=OFF" "-DBUILD_ITT=OFF" "-DBUILD_PROTOBUF=OFF" "-DBUILD_opencv_apps=OFF" "-DBUILD_opencv_java=OFF" "-DBUILD_opencv_js=OFF" "-DBUILD_ANDROID_PROJECT=OFF" "-DBUILD_ANDROID_EXAMPLES=OFF" "-DBUILD_PACKAGE=OFF" "-DBUILD_PERF_TESTS=OFF" "-DBUILD_TESTS=OFF" "-DBUILD_WITH_DEBUG_INFO=ON" "-DBUILD_WITH_STATIC_CRT=0" "-DBUILD_JAVA=OFF" "-DCURRENT_INSTALLED_DIR=D:/Development/Library/vcpkg/installed/x64-windows" "-DPROTOBUF_UPDATE_FILES=ON" "-DUPDATE_PROTO_FILES=ON" "-DENABLE_PYLINT=OFF" "-DENABLE_FLAKE8=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_JNI=ON" "-DENABLE_CXX11=ON" "-DOPENCV_DOWNLOAD_PATH=D:/Development/Library/vcpkg/downloads/opencv-cache" "-DOPENCV_EXTRA_MODULES_PATH=D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-58c4f07550.clean/modules" "-DOPENCV_OTHER_INSTALL_PATH=share/opencv" "-DWITH_ADE=OFF" "-DWITH_CONTRIB=ON" "-DWITH_CUBLAS=ON" "-DWITH_CUDA=ON" "-DWITH_EIGEN=OFF" "-DWITH_FFMPEG=OFF" "-DWITH_GDCM=OFF" "-DWITH_HALIDE=OFF" "-DWITH_JASPER=OFF" "-DWITH_JPEG=ON" "-DWITH_LAPACK=OFF" "-DOPENCV_ENABLE_NONFREE=OFF" "-DWITH_OPENEXR=OFF" "-DWITH_OPENGL=OFF" "-DWITH_PNG=ON" "-DWITH_QT=OFF" "-DWITH_QUIRC=ON" "-DBUILD_opencv_sfm=OFF" "-DWITH_TIFF=ON" "-DWITH_VTK=OFF" "-DWITH_WEBP=ON" "-DBUILD_opencv_world=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Halide=ON" "-DHALIDE_ROOT_DIR=D:/Development/Library/vcpkg/installed/x64-windows" "-DWITH_GTK=OFF" "-DWITH_IPP=OFF" "-DWITH_MATLAB=OFF" "-DWITH_MSMF=ON" "-DWITH_OPENMP=OFF" "-DWITH_PROTOBUF=ON" "-DWITH_OPENCLAMDBLAS=OFF" "-DWITH_TBB=OFF" "-DWITH_OPENJPEG=OFF" "-DBUILD_opencv_ovis=OFF" "-DBUILD_opencv_dnn=ON" "-DBUILD_opencv_quality=CMAKE_DEPENDS_IN_PROJECT_ONLY" "-DBUILD_opencv_gapi=ON" "-DBUILD_opencv_rgbd=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Development/Library/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Development/Library/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" "-D_VCPKG_ROOT_DIR=D:/Development/Library/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Development/Library/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/Development/Library/vcpkg/packages/opencv4_x64-windows/debug""
FAILED: ../../x64-windows-dbg/CMakeCache.txt
cmd /c "cd ../../x64-windows-dbg && "D:/Development/Library/vcpkg/downloads/tools/cmake-3.20.2-windows/cmake-3.20.2-windows-i386/bin/cmake.exe" "D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-755f235ba0.clean" "-DOPENCV_SKIP_SYSTEM_PROCESSOR_DETECTION=TRUE" "-DAARCH64=" "-DX86_64=1" "-DX86=" "-DARM=" "-DOpenCV_INSTALL_BINARIES_PREFIX=" "-DOPENCV_BIN_INSTALL_PATH=bin" "-DOPENCV_INCLUDE_INSTALL_PATH=include" "-DOPENCV_LIB_INSTALL_PATH=lib" "-DOPENCV_3P_LIB_INSTALL_PATH=lib" "-DOPENCV_CONFIG_INSTALL_PATH=share/opencv" "-DINSTALL_TO_MANGLED_PATHS=OFF" "-DOPENCV_FFMPEG_USE_FIND_PACKAGE=FFMPEG" "-DOPENCV_FFMPEG_SKIP_BUILD_CHECK=TRUE" "-DCMAKE_DEBUG_POSTFIX=d" "-DOPENCV_DLLVERSION=" "-DOPENCV_DEBUG_POSTFIX=d" "-DOPENCV_GENERATE_SETUPVARS=OFF" "-DBUILD_DOCS=OFF" "-DBUILD_EXAMPLES=OFF" "-Dade_DIR=D:/Development/Library/vcpkg/installed/x64-windows/share/ade" "-DBUILD_JASPER=OFF" "-DBUILD_JPEG=OFF" "-DBUILD_OPENEXR=OFF" "-DBUILD_PNG=OFF" "-DBUILD_TIFF=OFF" "-DBUILD_WEBP=OFF" "-DBUILD_ZLIB=OFF" "-DBUILD_TBB=OFF" "-DBUILD_IPP_IW=OFF" "-DBUILD_ITT=OFF" "-DBUILD_PROTOBUF=OFF" "-DBUILD_opencv_apps=OFF" "-DBUILD_opencv_java=OFF" "-DBUILD_opencv_js=OFF" "-DBUILD_ANDROID_PROJECT=OFF" "-DBUILD_ANDROID_EXAMPLES=OFF" "-DBUILD_PACKAGE=OFF" "-DBUILD_PERF_TESTS=OFF" "-DBUILD_TESTS=OFF" "-DBUILD_WITH_DEBUG_INFO=ON" "-DBUILD_WITH_STATIC_CRT=0" "-DBUILD_JAVA=OFF" "-DCURRENT_INSTALLED_DIR=D:/Development/Library/vcpkg/installed/x64-windows" "-DPROTOBUF_UPDATE_FILES=ON" "-DUPDATE_PROTO_FILES=ON" "-DENABLE_PYLINT=OFF" "-DENABLE_FLAKE8=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_JNI=ON" "-DENABLE_CXX11=ON" "-DOPENCV_DOWNLOAD_PATH=D:/Development/Library/vcpkg/downloads/opencv-cache" "-DOPENCV_EXTRA_MODULES_PATH=D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-58c4f07550.clean/modules" "-DOPENCV_OTHER_INSTALL_PATH=share/opencv" "-DWITH_ADE=OFF" "-DWITH_CONTRIB=ON" "-DWITH_CUBLAS=ON" "-DWITH_CUDA=ON" "-DWITH_EIGEN=OFF" "-DWITH_FFMPEG=OFF" "-DWITH_GDCM=OFF" "-DWITH_HALIDE=OFF" "-DWITH_JASPER=OFF" "-DWITH_JPEG=ON" "-DWITH_LAPACK=OFF" "-DOPENCV_ENABLE_NONFREE=OFF" "-DWITH_OPENEXR=OFF" "-DWITH_OPENGL=OFF" "-DWITH_PNG=ON" "-DWITH_QT=OFF" "-DWITH_QUIRC=ON" "-DBUILD_opencv_sfm=OFF" "-DWITH_TIFF=ON" "-DWITH_VTK=OFF" "-DWITH_WEBP=ON" "-DBUILD_opencv_world=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Halide=ON" "-DHALIDE_ROOT_DIR=D:/Development/Library/vcpkg/installed/x64-windows" "-DWITH_GTK=OFF" "-DWITH_IPP=OFF" "-DWITH_MATLAB=OFF" "-DWITH_MSMF=ON" "-DWITH_OPENMP=OFF" "-DWITH_PROTOBUF=ON" "-DWITH_OPENCLAMDBLAS=OFF" "-DWITH_TBB=OFF" "-DWITH_OPENJPEG=OFF" "-DBUILD_opencv_ovis=OFF" "-DBUILD_opencv_dnn=ON" "-DBUILD_opencv_quality=CMAKE_DEPENDS_IN_PROJECT_ONLY" "-DBUILD_opencv_gapi=ON" "-DBUILD_opencv_rgbd=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Development/Library/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Development/Library/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" "-D_VCPKG_ROOT_DIR=D:/Development/Library/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Development/Library/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/Development/Library/vcpkg/packages/opencv4_x64-windows/debug""
-- The CXX compiler identification is MSVC 19.29.30038.1
-- The C compiler identification is MSVC 19.29.30038.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detected processor: AMD64
-- Performing Test HAVE_CXX_FP:PRECISE
-- Performing Test HAVE_CXX_FP:PRECISE - Success
-- Performing Test HAVE_C_FP:PRECISE
-- Performing Test HAVE_C_FP:PRECISE - Success
-- Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp)
-- Performing Test HAVE_CPU_SSE3_SUPPORT - Success
-- Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp)
-- Performing Test HAVE_CPU_SSSE3_SUPPORT - Success
-- Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp)
-- Performing Test HAVE_CPU_SSE4_1_SUPPORT - Success
-- Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp)
-- Performing Test HAVE_CPU_POPCNT_SUPPORT - Success
-- Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp)
-- Performing Test HAVE_CPU_SSE4_2_SUPPORT - Success
-- Performing Test HAVE_CXX_ARCH:AVX (check file: cmake/checks/cpu_fp16.cpp)
-- Performing Test HAVE_CXX_ARCH:AVX - Success
-- Performing Test HAVE_CXX_ARCH:AVX2 (check file: cmake/checks/cpu_avx2.cpp)
-- Performing Test HAVE_CXX_ARCH:AVX2 - Success
-- Performing Test HAVE_CXX_ARCH:AVX512 (check file: cmake/checks/cpu_avx512.cpp)
-- Performing Test HAVE_CXX_ARCH:AVX512 - Success
-- Performing Test HAVE_CPU_BASELINE_FLAGS
-- Performing Test HAVE_CPU_BASELINE_FLAGS - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 - Success
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX
-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX - Success
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - found
-- Found ZLIB: optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found suitable version "1.2.11", minimum required is "1.2.3")
-- Found JPEG: optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/jpegd.lib (found version "62")
-- Found TIFF: optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/tiff.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/tiffd.lib (found version "4.3.0")
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Found ZLIB: optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.11")
-- Found PNG: optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/libpng16.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/libpng16d.lib (found version "1.6.37")
-- Looking for D:/Development/Library/vcpkg/installed/x64-windows/include/libpng/png.h
-- Looking for D:/Development/Library/vcpkg/installed/x64-windows/include/libpng/png.h - not found
-- Found CUDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.4/include (Required is at least version "7.5")
-- CUDA detected: 11.4
-- CUDA NVCC target flags: -gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-D_FORCE_INLINES
-- OpenCV Python: during development append to PYTHONPATH: D:/Development/Library/vcpkg/buildtrees/opencv4/x64-windows-dbg/python_loader
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Looking for mfapi.h
-- Looking for mfapi.h - found
-- Looking for d3d11_4.h
-- Looking for d3d11_4.h - found
-- Module opencv_alphamat disabled because the following dependencies are not found: Eigen
-- Caffe: NO
-- Found Protobuf: protobuf::libprotobuf (found version "3.15.8")
-- Protobuf: YES
-- Glog: NO
-- freetype2: NO
-- harfbuzz: NO
-- Found HDF5: hdf5::hdf5-shared (found version "1.12.0")
-- Julia not found. Not compiling Julia Bindings.
-- Module opencv_ovis disabled because OGRE3D was not found
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
-- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
-- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h
-- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h
-- Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags
-- Found TIFF: optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/tiff.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/tiffd.lib;optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/lzma.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/lzmad.lib;optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/jpegd.lib;optimized;D:/Development/Library/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "4.3.0")
-- Found GIF: D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/gif.lib (found version "5.1.4")
-- Found LibArchive: D:/Development/Library/vcpkg/installed/x64-windows/debug/lib/archive.lib (found version "3.4.3")
-- Tesseract: YES (ver 4.1.1)
-- Allocator metrics storage type: 'long long'
-- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-755f235ba0.clean/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
-- wechat_qrcode: Download: detect.caffemodel
-- wechat_qrcode: Download: detect.prototxt
-- wechat_qrcode: Download: sr.caffemodel
-- wechat_qrcode: Download: sr.prototxt
-- xfeatures2d/boostdesc: Download: boostdesc_bgm.i
-- xfeatures2d/boostdesc: Download: boostdesc_bgm_bi.i
-- xfeatures2d/boostdesc: Download: boostdesc_bgm_hd.i
-- xfeatures2d/boostdesc: Download: boostdesc_binboost_064.i
-- xfeatures2d/boostdesc: Download: boostdesc_binboost_128.i
-- xfeatures2d/boostdesc: Download: boostdesc_binboost_256.i
-- xfeatures2d/boostdesc: Download: boostdesc_lbgm.i
-- xfeatures2d/vgg: Download: vgg_generated_48.i
-- xfeatures2d/vgg: Download: vgg_generated_64.i
-- xfeatures2d/vgg: Download: vgg_generated_80.i
-- xfeatures2d/vgg: Download: vgg_generated_120.i
-- data: Download: face_landmark_model.dat
-- NVIDIA_OPTICAL_FLOW: Download: edb50da3cf849840d680249aa6dbef248ebce2ca.zip
CMake Error at D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-755f235ba0.clean/cmake/OpenCVDownload.cmake:161 (message):
Downloads are not permitted during configure. Please pre-download the file "D:/Development/Library/vcpkg/downloads/opencv-cache/nvidia_optical_flow/a73cd48b18dcc0cc8933b30796074191-edb50da3cf849840d680249aa6dbef248ebce2ca.zip":
vcpkg_download_distfile(OCV_DOWNLOAD
URLS "https://github.com/NVIDIA/NVIDIAOpticalFlowSDK/archive/edb50da3cf849840d680249aa6dbef248ebce2ca.zip"
FILENAME "opencv-cache/nvidia_optical_flow/a73cd48b18dcc0cc8933b30796074191-edb50da3cf849840d680249aa6dbef248ebce2ca.zip"
SHA512 0
)
Call Stack (most recent call first): D:/Development/Library/vcpkg/buildtrees/opencv4/src/4.5.2-58c4f07550.clean/modules/cudaoptflow/CMakeLists.txt:15 (ocv_download)
-- Configuring incomplete, errors occurred! See also "D:/Development/Library/vcpkg/buildtrees/opencv4/x64-windows-dbg/CMakeFiles/CMakeOutput.log". See also "D:/Development/Library/vcpkg/buildtrees/opencv4/x64-windows-dbg/CMakeFiles/CMakeError.log". ninja: build stopped: subcommand failed.
Maybe I know why? I'll try to download the file. Thanks!
I downloaded the file from the URLS in the log, and rename it. Then it successed.
Thanks for your help! I'll read the log file first next time.
Thanks!
Just had to do this to, can this not actually be fixed in the build pipeline at least? It was a bit obscure for such an automated setup that I had to go do all that myself to fix it for every install I do.
Just had to do this to, can this not actually be fixed in the build pipeline at least? It was a bit obscure for such an automated setup that I had to go do all that myself to fix it for every install I do.
I successed. It's not so smart. I thought it could download files automatically.
Download & rename the file works for me, specifically:
Host Environment
To Reproduce Steps to reproduce the behavior:
./vcpkg install opencv[cuda]:x64-windows --recurse
Failure logs -Cut and past the appropriate build messages from the console output.
PS D:\Development\Library\vcpkg> .\vcpkg install opencv[cuda]:x64-windows --recurse Computing installation plan... The following packages will be rebuilt: opencv[core,cuda,dnn,jpeg,png,quirc,tiff,webp]:x64-windows -> 4.5.2
Call Stack (most recent call first): scripts/cmake/vcpkg_configure_cmake.cmake:323 (vcpkg_execute_required_process) ports/opencv4/portfile.cmake:312 (vcpkg_configure_cmake) scripts/ports.cmake:139 (include)
Error: Building package opencv4:x64-windows failed with: BUILD_FAILED Please ensure you're using the latest portfiles with
.\vcpkg update
, then submit an issue at https://github.com/Microsoft/vcpkg/issues including: Package: opencv4:x64-windows Vcpkg version: 2021-05-05-e8977e69d9a3fb462d9ad42013d83a7682706659-Please attach any additional failure logs mentioned in the console output.
Additional context Add any other context about the problem here, such as what you have already tried to resolve the issue.