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.zig] Fix FileNotFound: .../src/raylib.h #3915

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

dylanlangston
Copy link
Contributor

I'm getting an error when attempting to build using the latest raylib and Zig master (0.12.0-dev.3635+786876c05):

zig build -Dtarget=wasm32-emscripten
install
└─ install raylib failure
error: unable to update file from '.../src/raylib.h' to '.../zig-out/include/raylib.h': FileNotFound
Build Summary: 15/17 steps succeeded; 1 failed (disable with --summary none)
install transitive failure
└─ install raylib failure
error: the following build command failed with exit code 1:
.../zig-cache/o/8c0437471634c5f3da2ba2e71966fe50/build /home/vscode/.zvm/master/zig / .../zig-cache /home/vscode/.cache/zig --seed 0xbfa3d8ae -Z33b99a15b162f409 -Dtarget=wasm32-emscripten

As far as I can tell this isn't resolved by #3913 so I'm submitting this request.

To resolve I updated the LazyPath that raylib is importing its headers from with the current std.Build specified as the owner.

@raysan5 raysan5 merged commit 583f81f into raysan5:master Apr 13, 2024
@raysan5
Copy link
Owner

raysan5 commented Apr 13, 2024

@dylanlangston thanks for the review, merging...

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 this pull request may close these issues.

2 participants