headers for OpenGL, OpenAL, and SDL

James Pelcis jpelcis at gmail.com
Wed Mar 8 15:33:16 PST 2006


Thanks for the help.  I think everything works.  The glext errors were 
caused by the partial failure of a regex.  I think everything works, but 
it would be nice if you could get that "Hello World" in AGL.

Anders F Björklund wrote:
> 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