Installing the Boost library under Windows

Source: Internet
Author: User

The job is now in touch with boost, so I plan to try to get familiar with boost within two months. Today in your own WIN10 system to try to install the Boost library, the following to summarize the problems encountered:

1. Good 1.61 repository, in the Boost directory run Bootstrap.bat when the DOS Flash and the directory does not have more than Bjam.exe and B2.exe, with administrator privileges to run also no results.

Then simply restarted the next computer, sure enough to solve the problem.

2. Next is compile, compile command words on the internet search, there is a key to the CL does not recognize the problem, this problem is also good solution. In your own boost directory, right-shift+, then choose to open the command line here. After the DOS window comes out, enter set to view the environment variable information to see similar information.

can see I use vs2012, so I enter this command: Call"%vs110comntools%" vsvars32.bat decisively resolved the problem of CL not recognized.

。。。 The next step is to compile more than 10 points.

The rest is used when you need to do in the project properties: 1. Add the Include directory inside the general options for C/C + +.

2. Add the library directory inside the connector.

Installing the Boost library under Windows

Related Article

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.