I’m getting a link error (unresolved glClearColor) with the following code. I’m using the glut32.lib. Where are the gl* functions?
#include <windows.h>
#include <gl/glut.h>
int main(int argc, char **argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB);
glutInitWindowSize(400, 100);
glutInitWindowPosition(100, 100);
glutCreateWindow(“First Chapter - Opening an OpenGL Window”);
glClearColor(1.0, 1.0, 1.0, 0.0) ;
}