I'm trying to do the openGLbook.com tutorial. I get this common error:

1>------ Build started: Project: OpenGL Startup, Configuration: Debug Win32 ------ 1>Build started 1/25/2013 8:18:16 PM. 1>InitializeBuildStatus: 1> Touching "Debug\OpenGL Startup.unsuccessfulbuild". 1>ClCompile: 1> All outputs are up-to-date. 1>ManifestResourceCompile: 1> All outputs are up-to-date. 1>main.obj : error LNK2019: unresolved external symbol __imp__glewGetErrorString@4 referenced in function _Initialize 1>main.obj : error LNK2019: unresolved external symbol __imp__glewInit@0 referenced in function _Initialize 1>J:\Coding Projects\OpenGL 3.3 Tutorial\OpenGL Startup\Debug\OpenGL Startup.exe : fatal error LNK1120: 2 unresolved externals 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:00.07 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I've downloaded the latest 64-bit binaries for GLEW from glew.sourceforge.net, and copied them into their corresponding locations within C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A. I've also downloaded the latest freeglut files and did the same.

I'm using VS 2010. The following are the settings I've changed (based on other threads and forums):

1) Properties > VC++ Directories........ added the "include" folder that contains glew.h and freeglut.h

2) Properties > Linker > Input > Additional Dependencies..... added glew32.lib, freeglut.lib, glew32mx.lib, glew32mxs.lib, glew32s.lib

I really don't understand why it still isn't linking the libraries properly. I should also note that I'm working from a different drive than the C drive. Could that have an effect even though I'm linking everything to its proper folder in the properties?

edit: forgot to post the actual code, here it is: