microsoft / vcpkg

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

[zlib] Restclient Build error #22644

Closed Calvin-LLC closed 2 years ago

Calvin-LLC commented 2 years ago

Host Environment

To Reproduce Steps to reproduce the behavior: ./vcpkg install restclient-cpp

Failure logs The following packages will be built and installed:

Call Stack (most recent call first): scripts/cmake/vcpkg_configure_cmake.cmake:345 (vcpkg_execute_required_process) ports/zlib/portfile.cmake:23 (vcpkg_configure_cmake) scripts/ports.cmake:142 (include)

Error: Building package zlib:x86-windows failed with: BUILD_FAILED

including: package: zlib[core]:x86-windows -> 1.2.11#13 vcpkg-tool version: 2021-12-09-724cea8b33cbf06c645f5095fa29773697da9761 vcpkg-scripts version: 5ef52b5b7 2022-01-19 (9 hours ago)

Additional context Attempted to download things listed here: https://github.com/microsoft/vcpkg-tool/pull/314 through visual studio community's installer.

config-x86-windows-out.log

JackBoosY commented 2 years ago
    LINK : fatal error LNK1104: cannot open file 'ucrtd.lib'
    ninja: build stopped: subcommand failed.

Please ensure you've installed the Windows SDK first.

JackBoosY commented 2 years ago

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.