You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Automatically setting %HTTP(S)_PROXY% environment variables to "127.0.0.1:7890".
Restored 0 package(s) from C:\Users\yangs\AppData\Local\vcpkg\archives in1.07 ms. Use --debug to see more details.
Installing 1/15 zlib:x64-windows...
Building zlib:x64-windows...
-- Using cached madler-zlib-v1.3.tar.gz.
-- Cleaning sources at D:/PATH/vcpkg/buildtrees/zlib/src/v1.3-8825ee792f.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/PATH/vcpkg/downloads/madler-zlib-v1.3.tar.gz
-- Applying patch 0001-Prevent-invalid-inclusions-when-HAVE_-is-set-to-0.patch
-- Applying patch 0002-skip-building-examples.patch
-- Applying patch 0003-build-static-or-shared-not-both.patch
-- Applying patch 0004-android-and-mingw-fixes.patch
-- Using source at D:/PATH/vcpkg/buildtrees/zlib/src/v1.3-8825ee792f.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Warning at scripts/cmake/vcpkg_execute_build_process.cmake:65 (message):
Please ensure your system has sufficient memory.
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/zlib/portfile.cmake:26 (vcpkg_cmake_install)
scripts/ports.cmake:170 (include)
-- Restarting build without parallelism
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe"--build .--config Debug --target install ---v -j17
Working Directory: D:/PATH/vcpkg/buildtrees/zlib/x64-windows-dbg
See logs for more information:
D:\PATH\vcpkg\buildtrees\zlib\install-x64-windows-dbg-out.log
D:\PATH\vcpkg\buildtrees\zlib\install-x64-windows-dbg-out-1.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/zlib/portfile.cmake:26 (vcpkg_cmake_install)
scripts/ports.cmake:170 (include)
error: building zlib:x64-windows failed with: BUILD_FAILED
Elapsed time to handle zlib:x64-windows: 16 s
经过研究该错误与CMake新版本(3.28.*)与vcpkg的某种冲突有关,mentioned here
在使用3.27.7后测试正常,特此提出issue
The text was updated successfully, but these errors were encountered:
Reed-yang
changed the title
About vcpkg conflics with CMake 3.28 | 关于vcpkg使用CMake 3.28的冲突
About vcpkg conflicts with CMake 3.28 | 关于vcpkg使用CMake 3.28的冲突
Dec 6, 2023
在使用vcpkg配置环境时被如下报错困扰了很久
经过研究该错误与CMake新版本(3.28.*)与vcpkg的某种冲突有关,mentioned here
在使用3.27.7后测试正常,特此提出issue
The text was updated successfully, but these errors were encountered: