Quartz problem (glext bug)
Quartz problem (glext bug)
- Subject: Quartz problem (glext bug)
- From: Pax <email@hidden>
- Date: Sat, 01 Feb 2014 19:56:03 +0000
I've got a problem when I include the Quartz framework. Doing so, without altering a single line of my code, causes the following error to be raised when I attempt to compile:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glext.h:3382:45: Expected ')'
I've done some digging around, and I understand that the problem is caused by a bug in glext - namely that 'it has a bunch of definitions that useGLenum, but GLenum isn't defined anywhere in that file. So, before you include glext.h, you need to include a file that defines GLenum.' Given that I'm not directly including this file, it is being included from the Quartz framework, how can I fix this problem?
Interestingly, the QuickLookDownloader demo doesn't seem to have this problem.
Once again, to reiterate, I haven't written any extra code other than "#import <Quartz/Quartz.h>", and added the framework to the build library. Without, all is fine. With, this odd error.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden