rolf's picture

Convert can't parse glext.h from the iOS 5.0 sdk

Project:The Open Toolkit library
Category:bug report
Status:by design

It barks on lines like these:

GL_API GLvoid glPopGroupMarkerEXT(void) __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_5_0);

(note the lack of GL_APIENTRY)

For reference the files are located in:



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rolf's picture


Title:Convert can't parse glext.h for the iOS 5.0 sdk» Convert can't parse glext.h from the iOS 5.0 sdk
the Fiddler's picture


The converter is designed specifically for the official Khronos ES and CL headers. Headers from other sources are not supported (but I will welcome patches, provided they don't break on the official headers).

Another solution would be to use gccxml to parse the iOS headers and do a simple xml->xml conversion to the format used in the generator. This is something I am considering for a potential full Android/iPhone port, but no concrete plans yet (especially given the current MonoDroid/MonoTouch price).

rolf's picture


Status:open» by design

OK, I didn't know the only supported headers were the official Khronos ones (the readme just mentions "ES and CL" headers)

In any case I have an ugly patch that works for us (but wouldn't really make sense for you).