Steps:
1. Download the boost version on the Boost website and take 1.59.0 as an example.
2. Unzip, you can see a folder under the Bootstrap.bat file.
Attention:
If you have the following error:
' CL ' is not an internal or external command, nor is it a running program or batch file.
Solution:
In the environment variable, add the path of cl.exe to path, such as Path C:\Microsoft Visual Studio 11.0\vc\bin\.
3. Open the CMD Command window and run the Boosttra.bat file. A file named Bjam.exe was generated.
The 4.cmd Command window runs the Bjam.exe file.
This process will by default compile the appropriate Lib files, header files, and so on, based on the compiled tools (vs2008,2010,2012,2013) that the system has already installed.
5. At this point, the Boost library installation is complete.
Configuration in 6.vs
1> Project, properties->c/c++-> Additional Include Directories: file path to add or edit boost: D:\boost\boost_1_55_0\libs
2> connector, Options Additional Library directory: Add boost library lib file path: D:\boost\boost_1_55_0\libs
7. At this point, the boost configuration is complete and the test OK.
VS Configuration Boost Library