[SDL] Cannot include SDL properly

Dinand Vanvelzen vanvelzen at skynet.be
Fri Jul 26 07:46:01 PDT 2002

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 

More information about the SDL mailing list