title: Linker error when trying to reference static library project in Visual Studio 2013
body: <p>I have two projects in my Visual Studio solution: A (static library .lib project) and B (project that uses A). I have referenced A in B by following the steps:</p>
  
  <p><code>right click B &gt; properties &gt; common properties &gt; references &gt; add new reference &gt; select A from projects tab</code></p>
  
  <p>I have set the path for .h files using <code>additional include directories</code> option in <code>properties &gt; Configuration Properties &gt; C/C++ &gt; General</code></p>
  
  <p>Project A builds successfully when built separately. But on building project B, it show <code>unresolved external symbol</code> errors like follows:</p>
  
  <pre><code>Error   46  error LNK2001: unresolved external symbol __imp____glewActiveTexture    c:\Users\student\documents\visual studio 2013\Projects\MCAProject\Narovatar\Narovatar\OGLDEV_Imported.lib(ogldev_texture.obj)   Narovatar
  Error   21  error LNK2001: unresolved external symbol __imp____glewAttachShader c:\Users\student\documents\visual studio 2013\Projects\MCAProject\Narovatar\Narovatar\OGLDEV_Imported.lib(technique.obj)    Narovatar
  Error   12  error LNK2001: unresolved external symbol __imp____glewBindBuffer   c:\Users\student\documents\visual studio 2013\Projects\MCAProject\Narovatar\Narovatar\ogl_mesh.obj  Narovatar
  Error   13  error LNK2001: unresolved external symbol __imp____glewBufferData   c:\Users\student\documents\visual studio 2013\Projects\MCAProject\Narovatar\Narovatar\ogl_mesh.obj  Narovatar
  </code></pre>
  
  <p>What could I have left? Any thoughts?</p>