Closed ghost closed 4 years ago
This seems to have been fixed in the most recent master release of Zig.
I would like to note that in order for this to work on Windows, you have to put SDL2.dll in the root of the repo. Otherwise, the build fails silently.
Running
zig.exe build-exe src/main.zig --library SDL2 --library c --cache-dir zig-cache --name sdl-zig-demo --cache on
on Windows 10 fails without any error. Error level is being set to 5.EDIT: Running
zig.exe build run
with fixes proposed in PR#5 produces the following error message:EDIT 2: This seems to relate to some breaking change in current Zig master code. Zig 0.6 seems to be able to build this on Windows.