Header problem with OGL on Cygwin

Paul Sargent Paul.Sargent@3dlabs.com
Tue Mar 18 17:53:00 GMT 2003


Thanks for the sample app Andre, that compiled fine. That showed me it
wasn't a system issue, so resolved to dig a bit more. I've made some headway
although I'm not sure I understand it.
Basically it seems to boil down to the order that I'm including header files
in my source files. 
I'm using the glpng library <http://www.wyatt100.freeserve.co.uk/download.htm> 
to load textures. If I "#include" the glpng header file before reading in the
standard gl.h and glut.h files then the symbols in my object files change
from the '_glBegin@4' style to the '_glBegin' style.
I've attached the glpng.h header to this mail (it's pretty small). If
anybody can teach me why this header changes the behaviour of the standard
GL headers I'd appreciate the education.
I'm now getting segmentation violations when I run the thing, but that's my
problem.
Thanks
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glpng.h
Type: text/x-chdr
Size: 4050 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030318/249125ed/attachment.bin>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /