-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[SDL2] cmake: ios/tvos support #10534
Conversation
Build seems to fail because Apple deprecated OpenGLES, best way forward might just be to define |
How does SDL3 handle this? I cannot find find |
That is an excellent question ... I do not know but would be very curious, @slouken do you maybe know how SDL is dealing with Apples deprecation of OpenGL? |
So, I checked https://github.com/libsdl-org/SDL/pull/9465/files/7aed78b825d193b55de36b500d146e991d2cc59d and see that I still do feel like |
f25ef78
to
8ebec7f
Compare
8ebec7f
to
be44685
Compare
Thanks @yorickreum , I applied your suggestion ( Can you explain why linking the tests fails (and provide a fix) on ios/tvos?
|
Thanks! Just from the error message, I‘d assume it’s trying to link something that was compiled for the wrong architecture (e.g. just macOS not iOS). |
I forgot about SDL2main :) |
This backports SDL3 CMake changes to support building SDL2 for ios/tvos.
testgles.c, testgles2.c and testgles2_sdf.c fail to build.
I hope an Apple person takes care of those.
Description
Existing Issue(s)
Fixes #10526