-
Notifications
You must be signed in to change notification settings - Fork 102
Fails to compile on zig 0.14 / MacOS #243
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 8000 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
Comments
We only support mach nominated versions, see the README: https://github.com/zigimg/zigimg?tab=readme-ov-file#install--build |
That compile error will be fixed once a new mach nominated Zig version is out with these changes |
I thought mach nominated builds were meant to include zig stable? with the mach builds filling in the gaps between stable |
All the other libraries I use have bug fixes only applied to a For people forced by other projects to track, stable, I found something called |
Is there a branch of this library that resolves the build issue? It looks like something to do with the changes to the memory allocator. Is there a "ready to go" branch for using this with the latest stable zig? Is it true that it's only a few lines of code to get it working on zig 0.14? Perhaps the Noop allocator can be changed so that it is compatible with both 0.13 and 0.14? See this patch: |
I have created an updated fork using the latest zigimg, and applying the patches from the above slightly older fork. https://github.com/loftafi/zigimg/tree/master This solves it for me temporarily. I am not sure if I should close this ticket. I guess I should leave it open because other people are still going to stumble across the same problem. |
I could be doing something wrong, but as far as I can tell, this library doesn't work on zig 0.14 using the most recent version.
Here is the error:
Here is a minimal example project:
https://github.com/loftafi/zigimg_test
The text was updated successfully, but these errors were encountered: