The first step to play with OpenGL on MinGW and Windows is add GLUT support, the old GLUT ... tools to get you started. To use it with MinGW see this MinGW Freeglut 64bit on Windows Example ... is the version of GLU that goes with OpenGL 1.1. The function gluLookAt is defined in GLU library ... . If you Fortunately, the MinGW integrate it in the distribution package, so you don't have to search