Mac Mojave + opengl

synchronizer picture synchronizer · Sep 26, 2018 · Viewed 15.3k times · Source

Mac OS 10.14 Mojave was just released, and since June, we've known that OpenGL was to be deprecated in the OS. "OpenGL applications will continue to run, but you should switch to Metal," to paraphrase. However, there doesn't seem to be any documentation indicating whether you can still compile with OpenGL or if Apple prevents that or omits the proper development libraries. I am currently developing an OpenGL-based graphics program and cannot risk updating if compilation will no longer work. Has anyone tested this?

EDIT: Does anyone else share Esenthel's experience?

Answer

Esenthel picture Esenthel · Sep 26, 2018

I can compile, however after updating to latest Mojave and Xcode, my OpenGL applications simply don't work.

In one case I get a hang during a system GL call, in another case just a black screen. And some errors in the output same as here: https://stackoverflow.com/questions/52507950/unable-to-load-info-plist-error-xcode-10-under-macos-10-14-mojave#=

I recommend that you don't update.

I think there's something broken in Xcode 10 OpenGL libraries.

Edit: It appears that later Mac OS and Xcode updates have fixed the problems.