We have just moved from JUCE 7.0.3 to 7.0.10 and suddenly all our mac projects are hitting the error below in juce_gl.h
#error gltypes.h included before juce_gl.h
After editing the gltypes.h file with a #error, I can see that this is being brought in by opengl.framework, which I presume is brought in by our use of the opengl module, as we haven’t explicitly included it in the jucer ourselves. We actually only use opengl for windows in this instance, and windows doesn’t report the error.
I couldn’t see a significant difference in the projucer generated xcodeproj file that would suggest that things were happening in a different order than before.
Is there a known change that could cause this change in previously working v7.0.3 projects? Is there a workaround?