zig-gamedev: Samples do not compile
I have tried using zig 0.9.0 from master but that gave me an error. So I tried zig 0.8.1 and it gave me another error, this one:
.\build.zig:11:55: error: no member named 'custom' in union 'std.build.InstallDir'
.{ .source_dir = "content", .install_dir = .{ .custom = "" }, .install_subdir = "bin/content" },
^
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 57 (2 by maintainers)
I will try that later today or maybe tomorrow. Thanks for the update 😃
Fixed by clearing zip folder and unzipping again. Compiles woohoo zig env { “zig_exe”: “C:\Users\dexte\Apps\Zig\zig.exe”, “lib_dir”: “C:\Users\dexte\Apps\Zig\lib”, “std_dir”: “C:\Users\dexte\Apps\Zig\lib\std”, “global_cache_dir”: “C:\Users\dexte\AppData\Local\zig”, “version”: “0.9.0-dev.1399+6534f2ef4” }
Thanks a lot sir. Can’t wait to play with the samples.
No worries I’ll check on this in a bit. Will report back.
I have not had the time unfortunately. I might give it a try later today, maybe tomorrow. Please leave this open for a couple of days, I wish I had more time for interesting projects like this, but I currently don’t 😃
I see, that is how I like my repos 😃
Still, this is an issue since we do not live in a perfect world where we can do what we want with our own computers that we paid for.
Enough ranting, I will come back later and try to find out what the issue is here. I will leave this open until I get a nice 3D scene on the screen 😉