Untitled

 avatar
unknown
plain_text
5 years ago
3.6 kB
4
Indexable
>zig build
Unable to link against libc: Unable to find libc installation: Windows SDK not found
See `zig libc --help` for more details.
triangle...The following command exited with error code 1

>zig libc --help                                                                                                                                 Usage: zig libc                                                                                                                                                                                                                                                                                                                                                                 Detect the native libc installation and print the resulting paths to stdout.                                                                                                            You can save this into a file and then edit the paths to create a cross                                                                                                                 compilation libc kit. Then you can pass `--libc [file]` for Zig to use it.                                                                                                                                                                                                                                                                                                      When compiling natively and no `--libc` argument provided, Zig will create                                                                                                              `C:\Users\kira\AppData\Local\zig\stage1/native_libc.txt`                                                                                                                                so that it does not have to detect libc on every invocation. You can remove                                                                                                             this file to have Zig re-detect the native libc.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Usage: zig libc [file]                                                                                                                                                                                                                                                                                                                                                          Parse a libc installation text file and validate it.zig libc --help
Usage: zig libc

Detect the native libc installation and print the resulting paths to stdout.
You can save this into a file and then edit the paths to create a cross
compilation libc kit. Then you can pass `--libc [file]` for Zig to use it.

When compiling natively and no `--libc` argument provided, Zig will create
`C:\Users\kira\AppData\Local\zig\stage1/native_libc.txt`
so that it does not have to detect libc on every invocation. You can remove
this file to have Zig re-detect the native libc.


Usage: zig libc [file]

Parse a libc installation text file and validate it
Editor is loading...