[SDL] Cannot include SDL properly

Dinand Vanvelzen vanvelzen at skynet.be
Fri Jul 26 11:11:00 PDT 2002

Dinand Vanvelzen wrote:

> i now added <GL/gl.h>
> in the includes,.. that took care of most errors except for these :
> main.cpp:71: `gluPerspective' undeclared (first use this function)
> main.cpp:71: (Each undeclared identifier is reported only once for each
> function it appears in.)
> Then i included <GL/glu.h>
> but that made it worse,.. an big list of errors again.
> And correct me if i'm wrong but is includeing gl.h not allready done by
> SDL ? so i don't see why it's won't recognize the gl identifyers untill i
> add gl.h

Seems my gl.h is of the mesa library.
is this normal ? i have redhat 7.3

More information about the SDL mailing list