Skip to content

Could improve zig build-exe main.zig -lc WindowsSdkNotFound error #6778

@emidoots

Description

@emidoots

Running zig-windows-x86_64-0.6.0+2ee79f149 and following the C interaction documentation I end up with:

zig run .\main.zig -lc
error: unable to create compilation: WindowsSdkNotFound

It would be great if this could link to e.g. a documentation page or provide more info about which windows SDK I need to install. The Windows 10 SDK and VS2019 both come to mind but it is not immediately clear.

I know this is minor, but could help out newcomers - would a contribution to improve this be welcome?

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions