I am trying to create Boost.Python according to the instructions on the official website.
My OS is the 64-bit version of Windows 7, the compiler is MSVC11, the upgrade is 1.54.
==================== Install Boost ===================
To install basic Boost, I downloaded the boost library from my website, unzip it to a local drive. Path C:\local\boost_1_54_0 .
================ Install Boost.Python ================
Then I discovered that Boost.Python needs to be created separately. Therefore, I followed the Boost.Python instruction.
================ Install Boost.Build =================
And in step 3.1.2, Boost.Build is required. So I followed the steps again and set Boost.Build to C:\local\boost_1_54_0\BoostBuild and added C:\local\boost_1_54_0\BoostBuild\bin to the Path environment variable.
Then I got stuck in steps 3.1.3 and 3.1.4 where the instruction says
3.cd to the libs / python / example / quickstart / directory of your Boost installation, which contains a small sample project.
4.Invoke bjam. Replace the "stage" argument from the sample call from section 5 of the "test" Getting Started Guide to build all targets. Also add the argument --verbose-test to the result generated by the tests when they are run.
On Windows, your bjam call might look something like this:
C: \ boost_1_34_0 \ ... \ quickstart> bjam toolset = msvc --verbose-test test
I typed the command line, which the instruction told me, and I'm sure that I am in the correct directory. However, there is no bjam or b2 in the quickstart folder (they are in the root directory of Boost and C: \ local \ boost_1_54_0 \ BoostBuild \ bin).
I even tried to copy these two files to the quickstart folder, but it doesn’t work at all.
I'm not very familiar with the Windows control mechanism, so I'm not sure if the Path key is the key to my question. I think, after I add the bin folder to Path , will the OS automatically link my bjam toolset=msvc --verbose-test test with bjam in the C:\local\boost_1_54_0\BoostBuild\bin ?
Can someone help me with this? :)