andrewrk / sdl-zig-demo

SDL2 hello world in zig
MIT License
129 stars 23 forks source link

Can't compile in Ubuntu #4

Open tuket opened 5 years ago

tuket commented 5 years ago

Maybe the build API is outdated?

$ zig version
0.4.0+e6ef0023
$ zig build
/home/tuket/prog/ttt/zig/sdl/build.zig:15:22: error: no member named 'addCommand' in struct 'std.build.Builder'
    const run_cmd = b.addCommand(".", b.env_map,
xyproto commented 5 years ago

Duplicate of #2