1. Download the boost package
2. Enter the root directory for extraction.
3. Run Bootstrap (run Bootstrap. bat on Windows)
4. Compile the library you want to use:
Variant = release/debug indicates whether the library you generated has debugging information.
Link = static/shared indicates whether the library you generated is a static library or a dynamic library.
Runtime-link = static/shared indicates whether your library is linked to a static or dynamic Runtime Library;
You can specify the Master name of a library you want to compile, such as filesystem, as shown in the following code:
Cd d: \ project \ boost_000055_0 \
Bootstrap
. \ B2 variant = release link = static runtime-link = static filesystem
You can get
"D: \ project \ boost_rj55_0 \ stage \ Lib \ libboost_filesystem-vc100-mt-s-1_55.lib"
You can obtain
"D: \ project \ boost_rj55_0 \ stage \ Lib \ libboost_filesystem-vc100-mt-1_55.lib"
"D: \ project \ boost_rj55_0 \ stage \ Lib \ libboost_filesystem-vc100-mt-gd-1_55.lib"
"D: \ project \ boost_rj55_0 \ stage \ Lib \ libboost_filesystem-vc100-mt-sgd-1_55.lib"
This article is from the "Notes" blog, please be sure to keep this source http://dmx512.blog.51cto.com/7672137/1545060
Quickly compile the desired boos Library