title: OpenGL Linking error? Unresolved external glCreateShader()
body: <p>I'm working on an OpenGL program to test out shaders and trying to compile them. However, the call to glCreateShader() (and other shader calls like glDeleteShader) give the following error:</p>
  
  <p>(this error is from glCreateShader())</p>
  
  <pre><code>Error   3   error LNK2001: unresolved external symbol _pglCreateShader  
  </code></pre>
  
  <p>I'm using Visual Studio 2012 and on windows 7. Got one of the latest nvidia cards including the latest drivers so can't be my OpenGL version.</p>
  
  <p>I'm using the glTools header files for all the helper functions for the OpenGL Superbible 4th edition. Not sure if there is an error in using these files?</p>
  
  <p>I'll post my includes in case this could be of any help as well.</p>
  
  <pre><code>#pragma once
  
  #include &lt;Windows.h&gt;
  
  // Basic C++ includes
  #include &lt;stdio.h&gt;
  #include &lt;tchar.h&gt;
  #include &lt;iostream&gt;
  #include &lt;string&gt;
  #include &lt;sstream&gt;
  #include &lt;fstream&gt;
  #include &lt;vector&gt;
  using namespace std;
  
  // OpenGL specific and GUI includes
  #include "shared/gltools.h"
  #include "shared/math3d.h"
  #include &lt;SOIL.h&gt;
  </code></pre>
  
  <p>And linker options:</p>
  
  <pre><code>soil.lib;opengl32.lib;gltools.lib;
  </code></pre>
  
  <p><hr>
  Oké, the problem has been solved thanks to the answers: </p>
  
  <p>I edited my glTools.h to include 'gl/glew.h' instead of "glee.h", added a ;glew32.lib option to my linker and added glewInit() before entering the main loop. I've also added the GLEW libs,dlls and includes into the appropriate folder and all the functions work like they should! :)</p>