I took this progrAM from OpenGL superbible 5th edition.I setup everything like they said in the book,the include paths and also including existing items for the project.
The unresolved externals means somthings not linked right, im pretty sure.
You are going to need to right click your project from the solution explorer -> Properties -> Linker -> System and make sure that SubSystem is set to Console.
unresolved external symbol _mainCRTStartup
Linker can't find program entry point.
You can set up it manually (go to "Project properties -> Configuration properties -> Linker -> Command Line) and add at additional options field "/entry:mainCRTStartup"
If this doesn't help try to switch subsystem flag (Project properties -> Configuration properties -> Linker -> System) between SUBSYSTEM:WINDOWS and SUBSYSTEM:CONSOLE.