title: Unresolved external symbol (OpenGL and c++)
body: <p>OK, so I'm writing a little project, nothing complex, it just has several classes.
  As the title implies, it uses OpenGL. At the moment, there's no "real" main function.
  I have included glew.h wherever I've used gl* function calls, and added to the linker input glew32.lib.</p>
  
  <p>And yet, it gives me this:</p>
  
  <blockquote>
    <p>Error 2   error LNK2019: unresolved external symbol
    _<em>imp</em>_glBindTexture@8 referenced in function "public: void __thiscall Texture2D::Bind(unsigned int)"
    (?Bind@Texture2D@@QAEXI@Z)    Texture.obj Licenta</p>
  </blockquote>
  
  <p>... and a host of other unresolved external symbol errors regarding OpenGL texture functions. But it doesn't complain about this:</p>
  
  <pre><code>glBindVertexArray(m_VAO);
          glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_Buffers[INDEX_BUFFER]);
          glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(Indices[0]) * Indices.size(), &amp;Indices[0], GL_STATIC_DRAW);
  </code></pre>
  
  <p>or this:</p>
  
  <pre><code>glDrawElementsBaseVertex(GL_TRIANGLES, 
                               m_Entries[i].NumIndices, 
                               GL_UNSIGNED_INT, 
                               (void*)(sizeof(unsigned int) * m_Entries[i].BaseIndex), 
                               m_Entries[i].BaseVertex);
  </code></pre>
  
  <p>So, what's the deal? If one gl* function call failed linking, wouldn't ALL have to fail?</p>