C:\Download\vcpkg>vcpkg install opencv3:x64-windows
Computing installation plan...
The following packages will be built and installed:
opencv3[core,dnn,flann,jpeg,opengl,png,tiff,webp]:x64-windows
Detecting compiler hash for triplet x64-windows...
Starting package 1/1: opencv3:x64-windows
Building package opencv3[core,dnn,flann,jpeg,opengl,png,tiff,webp]:x64-windows...
Could not locate cached archive: C:\Users\Joy\AppData\Local\vcpkg\archives\29\29c9f58ad2b863644cf96c4ea10fb33e68fa1b19.zip
-- Using cached C:/Download/vcpkg/downloads/opencv-opencv-3.4.10.tar.gz
-- Cleaning sources at C:/Download/vcpkg/buildtrees/opencv3/src/3.4.10-7c6d30703d.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Download/vcpkg/downloads/opencv-opencv-3.4.10.tar.gz
-- Applying patch 0001-disable-downloading.patch
-- Applying patch 0002-install-options.patch
-- Applying patch 0003-force-package-requirements.patch
-- Applying patch 0009-fix-uwp.patch
-- Using source at C:/Download/vcpkg/buildtrees/opencv3/src/3.4.10-7c6d30703d.clean
-- Using cached C:/Download/vcpkg/downloads/opencv-cache/tiny_dnn/adb1c512e09ca2c7a6faef36f9c53e59-v1.0.0a3.tar.gz
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:139 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v
Working Directory: C:/Download/vcpkg/buildtrees/opencv3/x64-windows-dbg
See logs for more information:
C:\Download\vcpkg\buildtrees\opencv3\install-x64-windows-dbg-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:91 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/opencv3/portfile.cmake:340 (vcpkg_install_cmake)
scripts/ports.cmake:79 (include)
Error: Building package opencv3: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: opencv3:x64-windows
Vcpkg version: 2020.06.15-nohash
Additionally, attach any relevant sections from the log files above.
Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install opencv3:x64-windowsFailure logs
Additional context
The Cmake version in my OS is 3.18.1, the same as the one in the 'C:\Download\vcpkg\downloads\tools' folder.