OpenGL and VS2010 unresolved external
问题 I want to use GLUT to simplify my code and work. I'm using windows 7 (64 bit) and Visual Studio 2010. I did everything like in this tutorial and still can't compile my code... I get these errors: Error 2 error LNK1120: 1 unresolved externals <path> Error 1 error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartuL The code I use: #include <GL/glew.h> #include <GL/glut.h> void display (void) { glClearColor(1.0f, 0.0f, 0.0f, 1.0f); glClear(GL_COLOR_BUFFER