1.6. Installing Boost.Build
Problem
You want to obtain and install Boost.Build.
Solution
Consult the Boost.Build documentation at www.boost.org/boost-build2 or follow these steps:
Go to the Boost homepage, www.boost.org, and follow the Download link to Boost’s SourceForge download area.
Download and unpack either the latest release of the package boost or the latest release of the package boost-build. The former includes the full collection of Boost libraries, while the latter is a standalone release of Boost.Build. Place the unpacked files in a suitable permanent location.
Download and unpack the latest version of the package boost-jam for your platform; this package includes a prebuilt bjam executable. If the package boost-jam is not available for your platform, follow the instructions provided with the package you downloaded in step 2 to build the executable from the source.
Copy bjam to a location in your
PATHenvironment variable.Permanently set the environment variable
BOOST_BUILD_PATHto the Boost. Build root directory. If you downloaded the package boost in step 1, the root directory is the subdirectory tools/build/v2 of your Boost installation; otherwise, it is the directory boost-build.Configure Boost.Build for your toolsets and libraries by editing the configuration file user-config.jam, located in the Boost.Build root directory. The file user-config.jam contains comments explaining how to do this.
Discussion
The most difficult part of using Boost.Build is downloading and installing ...