I am making a 2d side-scroller in C++ using OpenGL on Visual Studio 2010 Express. I am trying to compile my code, and it builds properly, but I get linker errors for the GLFW functions I am initializing in the main() function. Here is my code:

Was it a console app you created (or windows). You may be able to get it to work by just changing "main()" to "_main()"; or conversely, go to Linker options and explicitly set the entry point to "main()"; Linker -> Advanced -> Entry Point.
– Mark StevensNov 28 '12 at 17:33