#Error during build regarding build.zig file
1 messages · Page 1 of 1 (latest)
I may have pasted the screenshot a couple times its the same screenshot
Zig version 0.11.0
my build.zig is the standard one that comes up when you run zig init-exe
huh, that's weird 🤔
Anyhow, it should be standardOptimizeOption
https://devlog.hexops.com/2023/zig-0-11-breaking-build-changes/
https://github.com/ziglang/zig/blob/0.11.0/lib/init-exe/build.zig
I fixed it, however i do have a different issue regarding using c libraries
Every time i try depending on something like raylib I get the following error regarding linking GL
Here's all ive done to the build.zig file + my build.zig.zon file
I could send my project if you want to replicate
I'm now entirely up-to-date on snap, but isn't it supposed to be self contained and you'd need those libs in the container?
I'm not too sure