headers for OpenGL, OpenAL, and SDL

Anders F Björklund afb at algonet.se
Tue Mar 7 23:54:03 PST 2006


James Pelcis wrote:

> If http://darcs.brianweb.net/vendor/powerpc-apple-darwin/include/ is 
> legal, then so is a port of AGL. 

Yeah, so that only leaves the question: is it ? :-)

> The updated version on the website 
> should have most of it, but I had trouble finding the information on 
> Style.  Would someone with a Mac (hi Anders) please test it?  Thank you!

Hmm, not sure how I would test it without the rest of Carbon ?
But maybe I can use my old hello world to get an AGL window up...

Anyway, here are two bugs meanwhile:

c/gl/glext.d:2868: glTexCoord2fColor4fNormal3fVertex3fSUN is used as a type
c/gl/glext.d:2868: variable 
c.gl.glext._staticCtor.glTexCoord2fColor4fNormal3fVertex3fSUN voids have 
no value
c/gl/glext.d:2869: cannot implicitly convert expression (cast(void(C 
*)(float, float, float, float, float, float, float, float, float, float, 
float, float))(getProc("glTexCoord2fColor4fNormal3fVertex3fSUN"))) of 
type pfglTexCoord2fColor4fNormal3fVertex3fSUN to int

c/gl/glext.d:3308: glGetFramebufferAttachmentParameterivEXT is used as a 
type
c/gl/glext.d:3308: variable 
c.gl.glext._staticCtor.glGetFramebufferAttachmentParameterivEXT voids 
have no value
c/gl/glext.d:3309: cannot implicitly convert expression (cast(void(C 
*)(uint, uint, uint, 
int*))(getProc("glGetFramebufferAttachmentParameterivEXT"))) of type 
pfglGetFramebufferAttachmentParameterivEXT to int

You'll notice I had to move all the D sources, before it compiled...
(they are supposed to go in a c/gl subdirectory, to match the module)

--anders



More information about the Digitalmars-d-announce mailing list