openGL and AudioUnits

I noticed that if I try and include the openGL framework in an AudioUnit … I suddenly get the errors below.

What’s really strange is that if I then remove the framework, clean, and recompile … the errors persist!

Anyone got insight into that?

You should be able to replicate with the demoPlug … just add OpenGL to the list of frameworks. Note, you do not need to add the juce_openGL stuff … just the Apple framework.

Is there some base incompatibility here … like “hey man, you can’t use openGL for plugins … duh!” ? Please holler if so.

Also - using OSX 10.7, xcode 4.3. On the tip. 64 bit.

No idea what’s going on there. Just adding the openGL classes shouldn’t have any effect at all on any AU stuff.