We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raylib fails to build with zig build for the current standard version of Zig, 0.14.0.
zig build
0.14.0
One of both of build.zig and build.zig.zon need to be updated to work with Zig 0.14.0.
build.zig
build.zig.zon
PS C:\Users\10aded\Documents\Temp\Raylib-Curr> zig version 0.14.0 PS C:\Users\10aded\Documents\Temp\Raylib-Curr> zig build C:\Users\10aded\Documents\Temp\Raylib-Curr\build.zig.zon:2:13: error: expected enum literal .name = "raylib", ^~~~~~~~ PS C:\Users\10aded\Documents\Temp\Raylib-Curr>
The text was updated successfully, but these errors were encountered:
Are you sure about this? It seems to work for me. Here are the steps I took (using zig 0.14.0 ofc):
zig init
zig fetch --save=raylib https://github.com/raysan5/raylib/archive/f1385f3.zip
// Raylib include const raylib_dep = b.dependency("raylib", .{ .target = target, .optimize = optimize }); const raylib = raylib_dep.artifact("raylib"); exe.linkLibrary(raylib);
main.zig
zig build run
I think the error message is actually complaining about your build.zig.zon?
Sorry, something went wrong.
No branches or pull requests
Issue description
Raylib fails to build with
zig build
for the current standard version of Zig,0.14.0
.One of both of
build.zig
andbuild.zig.zon
need to be updated to work with Zig0.14.0
.Issue Screenshot
The text was updated successfully, but these errors were encountered: