title: error LNK2019: unresolved external symbol "class boost::system::error_category
body: <p>I am on Visual Studio 2013, downloaded the regular boost libraries (version 1.55) and installed them to C:/Program Files/Boost/</p>
  
  <p>I then created a new empty C++ project and added the following to my "Include Directories":</p>
  
  <blockquote>
    <p>C:\Program Files\Boost\boost_1_55_0;</p>
  </blockquote>
  
  <p>This is my code:</p>
  
  <pre><code>#include &lt;boost/asio.hpp&gt;
  #include &lt;iostream&gt;
  
  int main(int argc, char * argv[])
  {
      boost::asio::io_service io_service;
  
      for (int x = 0; x &lt; 42; ++x)
      {
          io_service.poll();
          std::cout &lt;&lt; "Counter: " &lt;&lt; x &lt;&lt; std::endl;
      }
  
      return 0;
  }
  </code></pre>
  
  <p>Once <code>bootstrap</code> and <code>./b2</code> had finished executing I then added the following path to "Additional Library Dependencies":</p>
  
  <blockquote>
    <p>C:\Program Files\Boost\boost_1_55_0\stage\lib</p>
  </blockquote>
  
  <p>but I get the following error messages:</p>
  
  <pre><code>Main.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const &amp; __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "public: __cdecl boost::system::error_code::error_code(void)" (??0error_code@system@boost@@QEAA@XZ)
  Main.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const &amp; __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'errno_ecat''(void)" (??__Eerrno_ecat@system@boost@@YAXXZ)
  </code></pre>
  
  <p>If I go to <code>C:\Program Files\Boost\boost_1_55_0\stage\lib</code> it contains:</p>
  
  <ul>
  <li>libboost_system-vc120-mt-1_55</li>
  <li>libboost_system-vc120-mt-gd-1_55</li>
  </ul>
  
  <hr>
  
  <p><strong>UPDATE:</strong> It appears my headers didn't get built correctly or some where missing. I just downloaded and ran the installer from here:</p>
  
  <p><a href="http://sourceforge.net/projects/boost/files/boost-binaries/1.55.0/" rel="nofollow">http://sourceforge.net/projects/boost/files/boost-binaries/1.55.0/</a></p>
  
  <p>The VS 2013 ones are msvc12</p>
  
  <p>Then I set up my additional library dependencies as normal.</p>