title: Boost cannot open file, 'libboost_filesystem-vc100-mt-gd-1_47.lib'
body: <p>I have googled the error for hours on end now and have not gotten much of anywhere.  I have linked the project in my Visual Studios (2010 &amp; 2012) project as that seems to have resolved everyone else's issue that was similar to this.  However I am still unable to get my sample code from boost's website to work and keep getting that error.  The file libboost_filesystem-vc100-mt-gd-1_47.lib is in my C:\Program Files (x86)\boost\boost_1_47\lib path.  Here is the code I am trying to test and get boost up and running.  </p>
  
  <pre><code>#include &lt;iostream&gt; 
  #include &lt;boost/filesystem.hpp&gt;
  using namespace boost::filesystem;
  
  int main(int argc, char* argv[])
  {
     if (argc &lt; 2)
     {
        std::cout &lt;&lt; "Usage: tut1 path\n";
        return 1;
     }
     std::cout &lt;&lt; argv[1] &lt;&lt; " " &lt;&lt; file_size(argv[1]) &lt;&lt; '\n';
     return 0;
  }
  </code></pre>