Re: Header problem with OGL on Cygwin

2003-03-18 Thread Paul Sargent
On Tue, Mar 18, 2003 at 11:42:01AM -0500, Igor Pechtchanski wrote: > Here's your culprit: Snip, snip It's gone. Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ

Re: Header problem with OGL on Cygwin

2003-03-18 Thread Andre Bleau
Paul, Here is the part of glpng.h that hurts: /* XXX This is from Win32's */ #ifndef APIENTRY #if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) #define APIENTRY__stdcall #else #define APIENTRY #endif #endif Add before it: #if defin

Re: Header problem with OGL on Cygwin

2003-03-18 Thread Igor Pechtchanski
On Tue, 18 Mar 2003, Paul Sargent wrote: > 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 includ

Re: Header problem with OGL on Cygwin

2003-03-18 Thread Paul Sargent
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 th

Re: Header problem with OGL on Cygwin

2003-03-18 Thread Andre Bleau
Paul M Sargent <[EMAIL PROTECTED]> wrote: Hi All, I'm currently having some problems linking with OpenGL under cygwin. I was hoping somebody who understands the system might be able to offer some advice. The problem I'm having is that when I try to link my object files together with "-lglut32 -l

Header problem with OGL on Cygwin

2003-03-18 Thread Paul Sargent
Hi All, I'm currently having some problems linking with OpenGL under cygwin. I was hoping somebody who understands the system might be able to offer some advice. The problem I'm having is that when I try to link my object files together with "-lglut32 -lglu32 -lopengl32" I get messages stating t