I'm attempting to work with openGL in visual studio 2010, and so far my code looks like so
#include<gl\GLU.h>
#include<gl\GL.h>
int main(int argc, char**argv){
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA);
glutInitWindowPosition(100, 100);
glutInitWindowSize(640, 480);
glutCreateWindow("Simple GLUT application");
glutMainLoop();
}
Visual studio is not recognizing any of the glut methods and is throwing errors such as "glutInit not recognized"
I know it is some error with how I linked the libraries, but I am new at this, so please be kind. Anyone know how to get this example working properly?