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
I think #8878 broke the detection of MSVC Windows SDK find in Zig. I can't find windows.h or any Windows library when using the msvc ABI
Tried with Zig version 0.9.0-dev.5423+7babff0bc
❯ zig build -Dtarget=native-native-msvc --verbose
C:\Programmation\Zig\zig\out\install\x64-Release\bin\zig.exe build-exe C:\Programmation\Hochelag\src\main.zig -lc -ld3d12 -ldxgi -ld3dcompiler -ldxguid --cache-dir C:\Programmation\Hochelag\zig-cache --global-cache-dir C:\Users\micha\AppData\Local\zig --name Hochelag -target native-native-msvc -mcpu=skylake-sgx --enable-cache
lld-link: error: could not open 'msvcrtd.lib': no such file or directory
lld-link: error: could not open 'vcruntimed.lib': no such file or directory
lld-link: error: could not open 'ucrtd.lib': no such file or directory
lld-link: error: could not open 'legacy_stdio_definitions.lib': no such file or directory
lld-link: error: could not open 'kernel32.lib': no such file or directory
lld-link: error: could not open 'ntdll.lib': no such file or directory
lld-link: error: could not open 'd3dcompiler.lib': no such file or directory
lld-link: error: could not open 'dxguid.lib': no such file or directory
error: LLDReportedFailure
Hochelag...The following command exited with error code 1:
C:\Programmation\Zig\zig\out\install\x64-Release\bin\zig.exe build-exe C:\Programmation\Hochelag\src\main.zig -lc -ld3d12 -ldxgi -ld3dcompiler -ldxguid --cache-dir C:\Programmation\Hochelag\zig-cache --global-cache-dir C:\Users\micha\AppData\Local\zig --name Hochelag -target native-native-msvc -mcpu=skylake-sgx --enable-cache
error: the following build command failed with exit code 1:
C:\Programmation\Hochelag\zig-cache\o\1163269d18ecaacb76d29494e60535eb\build.exe C:\Programmation\Zig\zig\out\install\x64-Release\bin\zig.exe C:\Programmation\Hochelag C:\Programmation\Hochelag\zig-cache C:\Users\micha\AppData\Local\zig -Dtarget=native-native-msvc --verbose
The text was updated successfully, but these errors were encountered:
I think #8878 broke the detection of MSVC Windows SDK find in Zig. I can't find
windows.h
or any Windows library when using the msvc ABITried with Zig version 0.9.0-dev.5423+7babff0bc
The text was updated successfully, but these errors were encountered: