Reference: http://www.cnblogs.com/lidabo/p/3782193.html
Environment: windows8.1,vs2013,boost1.57
Need to use boost, compile a boost to use it.
First, download
http://sourceforge.net/projects/boost/files/boost/1.57.0/, can download a BZ compressed file smaller, and extract files to the directory such as E:\thirdlib\boost_1_ 57_0.
Second, compile
1. Open the visual Studio x86 native Tools command Prompt window
2. Enter the corresponding directory
CD E:\thirdlib\boost_1_57_0\tools\build
3. Executive Bootstrap.bat
The bjam.exe file is generated in E:\third lib\boost_1_57_0\tools\build .
4.Copy Bjam.exe to boost's root directory
Copy Bjam.exe to E:\thirdlib\boost_1_57_0
6. Enter the boost root directory
CD E:\thirdlib\boost_1_57_0
7. Execute the Bjam.exe compile command as follows:
You can compile static libraries and dynamic libraries, and personally recommend compiling static libraries.
(1) compile all boost static libraries (Release|debug), including header files and library files
Bjam--toolset=msvc-12.0--prefix=E:\thirdlib\boost_1_57_0 \output--without-python--build-type=complete link=static runtime-link=static threading=multi Install
(2) Compile all boost dynamic libraries (release|debug), including header files and library files
Bjam--toolset=msvc-12.0--prefix=E:\thirdlib\boost_1_57_0 \Output--without-python--build-type= Complete link=shared Threading=multi Install
vs2013 under boost1.57 compilation