1. Go to www.boost.org to download the latest boost, I downloaded the Boost_1_60_0
2. (I put it in the D:/cpp directory) extract to the current folder
3. Open Vs2012->vs Tools->vs command prompt
4. In the DOS window, enter the command CD D:/MY_BOOST/BOOST_1_60_0
5. Enter bootstrap and generate the Bjam.exe file in your D:/my_boost/boost_1_60_0 directory.
6. Enter Bjam toolset=msvc-11.0 variant=debug,release threading=multi link=static to generate boost library
This is what the preparatory work is all about.
When using, first "new project", then right-click on your "project name" and select the "Properties" option from the drop-down menu.
And then in two steps:
1. Select the VC directory on the left and select the "Include directory" option on the right to edit its contents, such as:
Select the new option, and then select the D:/my_boost/boost_1_60_0 folder, and then click OK.
2 "Also this location, select the" Library directory "option, and then the editor content, such as:
Also select New Item, then select: D:/my_boost/boost_1_60_0\stage\lib folder, then OK.
So the environment is configured, and then you can debug the code.
VS2012 Boost Configuration