title: GLEW linking errors
body: <p>Im trying to put together a GLSL example program from a website, just so i can get a feel for shaders.</p>
  
  <p>The shader example program is from <a href="http://www.swiftless.com/tutorials/glsl/1_setup.html#DL" rel="nofollow">http://www.swiftless.com/tutorials/glsl/1_setup.html#DL</a></p>
  
  <pre><code>1&gt;------ Build started: Project: TheLightingExperiment2, Configuration: Debug Win32 ------
  
  1&gt;shader.obj : error LNK2001: unresolved external symbol __imp____glewLinkProgram
  
  1&gt;shader.obj : error LNK2001: unresolved external symbol __imp____glewAttachShader
  
  1&gt;shader.obj : error LNK2001: unresolved external symbol __imp____glewCreateProgram
  
  1&gt;shader.obj : error LNK2001: unresolved external symbol __imp____glewCompileShader
  
  1&gt;shader.obj : error LNK2001: unresolved external symbol __imp____glewShaderSource
  
  1&gt;shader.obj : error LNK2001: unresolved external symbol __imp____glewCreateShader
  
  1&gt;shader.obj : error LNK2001: unresolved external symbol __imp____glewDeleteProgram
  
  1&gt;shader.obj : error LNK2001: unresolved external symbol __imp____glewDeleteShader
  
  1&gt;shader.obj : error LNK2001: unresolved external symbol __imp____glewDetachShader
  
  1&gt;shader.obj : error LNK2001: unresolved external symbol __imp____glewUseProgram
  
  1&gt;C:\Users\Shawn\Desktop\TheLightingExperiment2\Debug\TheLightingExperiment2.exe : fatal error LNK1120: 10 unresolved externals
  
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  </code></pre>
  
  <p>The errors appear to be from glew not linking correctly. But i following glew's documentation for linking glew @ <a href="http://glew.sourceforge.net/install.html" rel="nofollow">http://glew.sourceforge.net/install.html</a></p>
  
  <p>And it still gives me these errors. I have put <strong>glew32.lib</strong> in linker->input. I have put the the <strong>glew32.lib</strong> into the VC lib directory, as well as the glew includes in the VC include directory. From googleing my problem, this seems to be the resolution, but its not working for me.</p>