Skip to content
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

[build] Cannot build examples with zig 0.11.0, build.zig needs to be updated #3386

Closed
purple4pur opened this issue Oct 8, 2023 · 2 comments · Fixed by #3393
Closed

[build] Cannot build examples with zig 0.11.0, build.zig needs to be updated #3386

purple4pur opened this issue Oct 8, 2023 · 2 comments · Fixed by #3393

Comments

@purple4pur
Copy link
Contributor

Issue description

I followed instructions in examples folder and built with command zig build core, but so many errors occurred.

Environment

Windows 10 LTSC x64, raylib 4.5.0, zig 0.11.0

image

Issue Screenshot

I tried some fixing and was stuck here...

image
image
image
image

@raysan5
Copy link
Owner

raysan5 commented Oct 8, 2023

@purple4pur I'm afraid I don't maintain Zig build system, fee free to send a PR with required fixes.

@star-tek-mb
Copy link
Contributor

Please use either zig master with raylib master, either find commit which will compile with zig 0.11.0.

raylib 4.5.0 compatible with zig 0.10.1 i think. But zig 0.10.1 has a lot of issues with C ABI compatibility.

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

Successfully merging a pull request may close this issue.

3 participants