VS2012 Boost Configuration

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.