Skip to content

zopengl doesn't currently build in zig 0.14.0 #11

New issue

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

Closed
10aded opened this issue Mar 12, 2025 · 2 comments
Closed

zopengl doesn't currently build in zig 0.14.0 #11

10aded opened this issue Mar 12, 2025 · 2 comments

Comments

@10aded
Copy link

10aded commented Mar 12, 2025

Problem

Currently, the command zig build results in a build error when using the current (albeit new) Zig compiler, zig 0.14.0:

$ mkdir zopengl
$ cd zopengl
$ git clone https://github.com/zig-gamedev/zopengl.git .
$ zig version
0.14.0
$ zig build
C:\Users\10aded\Documents\Temp\zopengl\build.zig.zon:2:13: error: expected enum literal
    .name = "zopengl",
            ^~~~~~~~~
$

Expected Behavior

The command zig build compiles the build script, and then zopengl itself, when zig is 0.14.0.

@KarthikKaravatt
Copy link
Contributor

While it doesn't build on the current version when you try and build the project itself. It seems to work fine for me if you use it as a library.

@hazeycode
Copy link
Member

Building with 0.14.0 now. Please reopen if you have nay issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants