rolf's picture

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

Project:The Open Toolkit library
Version:1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:by design
Description

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:

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h


Comments

Comment viewing options

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

#1

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

#2

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

#3

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).