whatelse do I need

hi, there,

when I try to compile a simple code from the red book, I get a error message:

undefined reference to `OpenAWindowPlease’
undefined reference to

I’ve included
#include <GL/glx.h>
#include <GL/gl.h>
#include <stdio.h>
and linked with -lGL -lGLU

I wonder whatelse headfiles/libraries do I need? I am using gcc under linux,



you’re trying to compile pseudo-code.


There’s an appendix in the red book on the GLUT library. You will need to download GLUT(google for it if the redbook doesn’t have a link). Use GLUT to manage windows calls like creating a window and detecting keyboard/mouse input.