-
Notifications
You must be signed in to change notification settings - Fork 25
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
OpenGL incompatibility #70
Comments
Looks like it's asking for |
I did try that. Then AWT never starts and window doesn't show up. I'm currently using this many years old version that I think is from oracle and it works. |
Is this a Catalina-specific issue? See eg powervr-graphics/Native_SDK#46 |
This is on Catalina. I was saying it still works on the older javaapplauncher just not this fork for some reason when I build it. I attached the native that works for me above. It could be a difference caused by building against an older macOS SDK. |
We have a very similar problem in the Arduino IDE, we rebuild appbundler with the latest MacOSX SDK, but suddenly the Arduino IDE started crashing on macs with external monitor. We cannot use the old appbundler because is built using a very old MacOSX SDK and it will not pass notarization, so we are basically stuck... If anyone is aware of a solution for this problem please let us know! |
@rsbfox I was almost tempted to do it 😈 of course I didn't, if Apple will ever notice it I guess they may revoke our developer certificates and all previous notarizations we did and we cannot afford that risk. BTW your suggestion made me think that I don't need the very latest SDK, because the requirement is >=10.9... maybe building on SDK 10.9 will not trigger the bug and will allow to pass notarization without cheating and... you know what... it worked! The solution may not be immediatedly obvious but it's simply: build on SDK 10.9 :-) So, what can I say, thank you @rsbfox for you indirect help I owe you a beer! 🍺 |
Building against SDK 10.9 does not work for the current version, as it uses NSEventModifierFlagNumericPad which is only available in macOS 10.12+. But building against SDK 10.12 works. I had an AppBundler binary built against SDK 10.14 which worked well over the last year, but my newest version built against SDK 10.15 sometimes crashed with the mentioned error message ( I have now built the binary again for me pointing to SDK 10.12 hoping to fix the issue. |
Following the link sent from @rsbfox I've seen also this comment on TurboVNC project TurboVNC/turbovnc#186 (comment) where it seems the weird behaviour happens using SDK 10.11+. @mrieser let us know if SDK 10.12 fixes the issue for you, so we have more data to compare... |
Running into this one (again) because building against the 10.9 SDK isn't possible (afaict) for Apple Silicon. I've been able to get appbundler to build for Also getting confirmation that it's not simply a matter of adding |
Using http://legacy.lwjgl.org/ bindings. Project to run the gears demo.
gears.zip
Crash running bundled app.
crash.log
Command to run it normally.
java -Djava.library.path=native/macosx -cp "jar/*" org.lwjgl.test.opengl.Gears
I think the problem is not running on the main thread.
The text was updated successfully, but these errors were encountered: