-
Notifications
You must be signed in to change notification settings - Fork 23
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
UndefVarError: libsdl2_{ttf,image} not defined (Apple Silicon / M1 Mac) #58
Comments
Yeah, SDL2_ttf jll is not built for apple m1. cf: https://github.com/JuliaBinaryWrappers/SDL2_ttf_jll.jl/tree/main/src/wrappers Someone needs to rebuild this in Yggdrasil |
Thank you. I wish I could contribute but I have no experience with jll. I will wait for someone else to work on it. |
I haven't tried myself, but this should have been fixed by JuliaPackaging/Yggdrasil#5483. Curiously, JuliaPackaging/Yggdrasil#3367 was already meant to build the library for this platform, but failed to do so in practice. |
To make GameZero work on Apple Silicom Mac, it seems SDL2_image_jll needs to be built as well. I renamed the title and keep this issue open. |
SDL2_image_jll should now be available for M1 |
I confirmed SDL2 related issues are fixed on my M1 Mac. Thank you very much! I can run examples although there are some issues related to screen resolution. I will register another issue if necessary after a little more digging. |
I tried to run the file in the example directory and got an error. I see the same error when I tried GZExamples. Any idea? I installed master of SimpleMediaLayer and GameZero. I'm on M1 Mac and sdl2 libraries are installed by homebrew.
$ brew list|grep sdl2 sdl2 sdl2_gfx sdl2_image sdl2_mixer sdl2_net sdl2_ttf
The text was updated successfully, but these errors were encountered: