I'm trying to experiment in OpenGL with SFML, but I can't seem to get ANY glu functions to work.
I have the following code:
void display()
{
glClear(GL_COLOR_BUFFER_BIT);
glMatrixMode(GL_MODELVIEW);
glColor3f(0,1,0);//green
glLineWidth(10);
gluLookAt(0,0,5, 0,0,0, 0,1,0);
glBegin(GL_LINES);
glVertex3f(0,0,0);
glVertex3f(0,0.5,0);
glEnd();
}
The line with gluLookAt gives a compiler error every time, yet all the other openGL calls work flawlessly. I'm operating on Windows, and I have included the SFML/Window.hpp. Any hints?