mrRay / vvopensource

OSC and MIDI frameworks for OS X and iOS, a framework for managing and rendering to GL textures in OS X, and a functional ISF (interactive shader format) implementation for OS X.
231 stars 33 forks source link

VVOSC - OpenGL error??? #5

Closed gwsounddsg closed 10 years ago

gwsounddsg commented 10 years ago

I have a program for OSX 10.8 that uses the VVOSC framework which, as you know, requires the VVBasic framework.

I am getting the following error in OpenGL.h line 9, even though I am not using OpenGL or Quartz.

#error Can not include both gl3.h and CGLMacro.h simultaneously

Which is a huge problem because my project won't build. Obviously, as you know, VVOSC doesn't have anything to do with Quartz or OpenGL so you can see why this is a problem.

Is there a work around for this?

mrRay commented 10 years ago

hmm…please give 6e7c4 a shot? i moved a couple #import <OpenGL/CGLMacro.h>'s from headers into .m files, so the classes can still use it but don't add it to your #include path.

gwsounddsg commented 10 years ago

That did the trick!! This is the perfect API for what I need. Thanks for this.