-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't 'zig build run' on windows #16897
Labels
bug
Observed behavior contradicts documented or intended behavior
Comments
GmosNM
added
the
bug
Observed behavior contradicts documented or intended behavior
label
Aug 20, 2023
This looks similar to ziglang/zig-bootstrap#144, how did you acquire your Zig binary? |
|
fixed it
i downloaded zig-windows-x86_64-0.11.0.zip |
I have the same problem, and I don't understand how you fixed it as your previous comments points to the same packages 🤔 |
Same issue, fixed using |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Zig Version
0.11,0
Steps to Reproduce and Observed Behavior
zig build run
the output is:
Semantic Analysis [667] error(mingw): clang exited with code 1 and stderr: error: unknown target triple 'x86-unknown-windows-gnu', please use -triple or -arch
Semantic Analysis [1768] error(mingw): clang exited with code 1 and stderr: error: unknown target triple 'x86-unknown-windows-gnu', please use -triple or -arch
Semantic Analysis [4957] error(mingw): clang exited with code 1 and stderr: error: unknown target triple 'x86-unknown-windows-gnu', please use -triple or -arch
error: unable to generate DLL import .lib file for advapi32: ClangPreprocessorFailed
Expected Behavior
build and run the program
The text was updated successfully, but these errors were encountered: