VS Configuration Boost Library

Source: Internet
Author: User
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

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.