title: How to build Boost 1.55 with Visual Studio 2013?
body: <p>I'm trying to build Boost 1.55 with Visual Studio 2013.</p>
  
  <p>1) I tried to use boost-binaries (<a href="http://sourceforge.net/projects/boost/files/boost-binaries/">boost-binaries</a>), but Visual Studio wrote about the error, when I tried to compile:</p>
  
  <blockquote>
    <p>error LNK1104: cannot open file
    'libboost_serialization-vc120-mt-gd-1_55.lib'. I used
    boost_1_55_0-msvc-12.0-32.exe or 1.55.0-build2 (boost-binaries).</p>
  </blockquote>
  
  <p>I didn't find that .lib file in the boost_1_55_0\lib32-msvc-12.0 directory.</p>
  
  <p>2) I also tried to use this program BlueGo 0.1.7 (<a href="http://blog.vertexwahn.de/Wordpress/?p=174">BlueGo</a>). It works very smooth, and create all libraries, which I am needed.</p>
  
  <p>The problem in that it creates .lib files like this:</p>
  
  <blockquote>
    <p>libboost_serialization-vc110-mt-gd-1_55.lib</p>
  </blockquote>
  
  <p>But I use Visual Studio 2013 and it is required to use vc120 version of compiler instead vc110, overwise it is thrown an error.</p>
  
  <p>3) In the end I decided to create dll/lib files on my own.</p>
  
  <p>I used following guide in the boost site:
  <a href="http://www.boost.org/doc/libs/1_55_0/more/getting_started/windows.html#simplified-build-from-source">Simplified Build From Source</a>.</p>
  
  <blockquote>
    <p>If you wish to build from source with Visual C++, you can use a simple
    build procedure described in this section. Open the command prompt and
    change your current directory to the Boost root directory. Then, type
    the following commands:</p>
  </blockquote>
  
  <pre><code>bootstrap
  .\b2
  </code></pre>
  
  <p>Above I wrote, what I needed to do.</p>
  
  <p>I launched "VS2012 x86 Native Tools Command Prompt", changed dir to the boost root dir and entered the command:</p>
  
  <pre><code>bootstrap
  </code></pre>
  
  <p>Immediately I got the error:</p>
  
  <pre><code>C:\thirdparty\vs2013\x86\boost_1_55_0&gt;.\bootstrap.bat
  Building Boost.Build engine
  
  Failed to build Boost.Build engine.
  Please consult bootstrap.log for furter diagnostics.
  
  You can try to obtain a prebuilt binary from
  
     http://sf.net/project/showfiles.php?group_id=7586&amp;package_id=72941
  
  Also, you can file an issue at http://svn.boost.org
  Please attach bootstrap.log in that case.
  </code></pre>
  
  <p>In the log file I noticed following error:</p>
  
  <blockquote>
    <p>execnt.c(56) : fatal error C1083: Cannot open include file:
    'tlhelp32.h': No such file or directory</p>
  </blockquote>
  
  <p>The bootstrap.log file:</p>
  
  <pre><code>###
  ### Using 'vc12' toolset.
  ###
  
  C:\thirdparty\vs2013\x86\boost_1_55_0\tools\build\v2\engine&gt;if exist bootstrap rd /S /Q bootstrap 
  
  C:\thirdparty\vs2013\x86\boost_1_55_0\tools\build\v2\engine&gt;md bootstrap 
  
  C:\thirdparty\vs2013\x86\boost_1_55_0\tools\build\v2\engine&gt;cl /nologo /RTC1 /Zi /MTd /Fobootstrap/ /Fdbootstrap/ -DNT -DYYDEBUG -wd4996 kernel32.lib advapi32.lib user32.lib /Febootstrap\jam0  command.c compile.c constants.c debug.c execcmd.c execnt.c filent.c frames.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathnt.c pathsys.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c md5.c class.c cwd.c w32_getreg.c native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c 
  command.c
  compile.c
  constants.c
  debug.c
  execcmd.c
  execnt.c
  execnt.c(56) : fatal error C1083: Cannot open include file: 'tlhelp32.h': No such file or directory
  filent.c
  frames.c
  function.c
  glob.c
  hash.c
  hdrmacro.c
  headers.c
  jam.c
  jambase.c
  jamgram.c
  lists.c
  make.c
  make1.c
  object.c
  Generating Code...
  Compiling...
  option.c
  output.c
  parse.c
  pathnt.c
  pathsys.c
  regexp.c
  rules.c
  scan.c
  search.c
  subst.c
  timestamp.c
  variable.c
  modules.c
  strings.c
  filesys.c
  builtins.c
  md5.c
  class.c
  cwd.c
  w32_getreg.c
  Generating Code...
  Compiling...
  native.c
  set.c
  path.c
  regex.c
  property-set.c
  sequence.c
  order.c
  Generating Code...
  </code></pre>
  
  <p>I tried to check existed this file or not ('tlhelp32.h'). I created a project and include the file ('tlhelp32.h'). It is compiled without any errors.</p>
  
  <p>4) Also I tried to rename </p>
  
  <blockquote>
    <p>libboost_serialization-vc110-mt-gd-1_55.lib</p>
  </blockquote>
  
  <p>to </p>
  
  <blockquote>
    <p>libboost_serialization-vc120-mt-gd-1_55.lib</p>
  </blockquote>
  
  <p>But Visual Studio thrown the error again.</p>
  
  <pre><code>Error   1   error LNK1104: cannot open file 'libboost_serialization-vc120-mt-gd-1_55.lib'.
  </code></pre>
  
  <p>Could you tell me what is the problem and how to build Boost 1.55 with Visual Studio 2013?</p>
  
  <p>Thanks in advance!</p>