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
LINK : fatal error LNK1181: cannot open input file D:\work\vcpkg\downloads\tools\msys2\d1518c5fb772aeb9\DWINVER#0x0601.obj
ANOTHER CLUE: in my case I had specified WINVER using environment variables before running vcpkg:
SET CL=/DWINVER#0x0601 /D_WIN32_WINNT#0x0601 /DNTDDI_VERSION#0x06010000 /D_WIN32_IE#0x0800 /DCURL_DISABLE_LDAP /DCURL_DISABLE_LDAPS /DCURL_STATICLIB
SET VCPKG_KEEP_ENV_VARS=CL
I suspect the config script / port for icu is not handling this scenario well. There is a related issue on Linux #44051 which may have the same root cause.
configure: WARNING: unrecognized options: --disable-silent-rules
configure: error: in '/d/work/vcpkg/buildtrees/icu/x64-windows-dbg':
configure: error: C compiler cannot create executables
See 'config.log' for more details
checking for ICU version numbers... release 74.2, library 74.2, unicode version 15.1
checking build system type... x86_64-pc-mingw32
checking host system type... x86_64-pc-mingw32
checking whether to build debug libraries... yes
checking whether to build release libraries... no
checking whether the C compiler works... no
Package: icu[core,tools]:[email protected]#4
Host Environment
vcpkg-scripts version: d5ec528 2025-02-14 (2 weeks ago)
To Reproduce
vcpkg install boost-locale[icu]
A CLUE: in the linker error in the config log:
LINK : fatal error LNK1181: cannot open input file
D:\work\vcpkg\downloads\tools\msys2\d1518c5fb772aeb9\DWINVER#0x0601.obj
ANOTHER CLUE: in my case I had specified WINVER using environment variables before running vcpkg:
I suspect the config script / port for
icu
is not handling this scenario well. There is a related issue on Linux #44051 which may have the same root cause.Failure logs
D:\work\vcpkg\buildtrees\icu\config-x64-windows-dbg-err.log
D:\work\vcpkg\buildtrees\icu\config-x64-windows-dbg-out.log
D:\work\vcpkg\buildtrees\icu\config-x64-windows-dbg-config.log
The text was updated successfully, but these errors were encountered: