title: Building Boost.Python
body: <p>I am trying to build Boost.Python according to the instructions on the official website.</p>
  
  <p>My OS is Windows 7 64-bit, the compiler is MSVC11, the boost is 1.54.</p>
  
  <p>=================== Install Boost ==================</p>
  
  <p>To install basic Boost, I downloaded the boost library from its website, unzip it to my local disk. The path is <code>C:\local\boost_1_54_0</code>.</p>
  
  <p>=============== Install Boost.Python ===============</p>
  
  <p>I then find that Boost.Python need to be built separately. So I followed the <a href="http://www.boost.org/doc/libs/1_54_0/libs/python/doc/building.html" rel="noreferrer">Boost.Python instruction</a>.</p>
  
  <p>=============== Install Boost.Build ================</p>
  
  <p>And at stage 3.1.2, <a href="http://www.boost.org/doc/libs/1_54_0/more/getting_started/windows.html#install-boost-build" rel="noreferrer">Boost.Build</a> is required. So I, again, followed the steps and install Boost.Build at <code>C:\local\boost_1_54_0\BoostBuild</code>, and added <code>C:\local\boost_1_54_0\BoostBuild\bin</code> into the <code>Path</code> enviroment variable.</p>
  
  <p>Then I am stuck at stage 3.1.3 and 3.1.4, where the instruction says</p>
  
  <blockquote>
    <p>3.cd into the libs/python/example/quickstart/ directory of your Boost installation, which contains a small example project.</p>
    
    <p>4.Invoke bjam. Replace the “stage“ argument from the example invocation from section 5 of the Getting Started Guide with “test,“ to
    build all the test targets. Also add the argument “--verbose-test” to
    see the output generated by the tests when they are run.</p>
    
    <p>On Windows, your bjam invocation might look something like:</p>
    
    <p>C:\boost_1_34_0\…\quickstart> bjam toolset=msvc --verbose-test test</p>
  </blockquote>
  
  <p>I've typed the command line that the instruction told me and I am sure that I am in the right directory. However, there is no <code>bjam</code> or <code>b2</code> in the <code>quickstart</code> folder (they are at the root direcroty of Boost and C:\local\boost_1_54_0\BoostBuild\bin).</p>
  
  <p>I even tried to copy these two files to the <code>quickstart</code> folder, but doesn't work at all. </p>
  
  <p>I am not very familiar with the Windows management mechanism, thus am not sure if the <code>Path</code> is the key to my question. I guess after I added the bin folder to the <code>PATH</code>, the OS will automatically link my <code>bjam toolset=msvc --verbose-test test</code> to the <code>bjam</code> in the <code>C:\local\boost_1_54_0\BoostBuild\bin</code> folder?</p>
  
  <p>Can anyone help me with this? :)</p>