title: 2>LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc120-mt-sgd-1_58.lib'
body: <p>And no wonder as there is no such file in <code>...\boost_1_58_0\stage\lib</code>. How can I get one ? I only have:</p>
  
  <pre><code>boost_1_58_0\stage\lib\libboost_filesystem-vc120-mt-s-1_58.lib
  boost_1_58_0\stage\lib\libboost_filesystem-vc120-s-1_58.lib
  </code></pre>
  
  <p>in there. Tried to compile boost with various options ending up with tacking  <code>--build-type=complete</code> to it (the "poor man's" solution from <a href="https://stackoverflow.com/questions/9628527/linker-error-lnk1104-with-libboost-filesystem-vc100-mt-s-1-49-lib/27054853#27054853">Linker error LNK1104 with &#39;libboost_filesystem-vc100-mt-s-1_49.lib&#39;</a>) to get:</p>
  
  <pre><code>&gt; b2 toolset=msvc threadapi=win32 link=static runtime-link=static \
  variant=release address-model=32 --with-filesystem --with-locale --with-regex \
  --with-system --with-iostreams --build-type=complete
  </code></pre>
  
  <p>the command line being suggested in the readme of the project that I am importing - still no joy. It is a CMake project I got into some pains to build an MSVS solution for.</p>
  
  <p>NB: my problem was solved when looking carefully at the CMake gui:</p>
  
  <p><img src="https://i.stack.imgur.com/lJ2wO.jpg" alt="enter image description here"></p>
  
  <p>I realized that it is the Debug configuration that did not build and sure enough when I right clicked on the "solution" > Configuration Manager > changed to a release build all was ok. Still the question remains - how do I get those libboost_filesystem-vc120-mt-<strong><em>sgd</em></strong>-1_58.lib builds ?</p>