Install the boost library and windows boost library in windows

Source: Internet
Author: User

Install the boost library and windows boost library in windows

I plan to get familiar with boost within two months. Today, I tried to install the boost library on my win10 system. The following is a summary of the problems encountered:

1. Check the 1.61 version library and run bootstrap. bat in the boost directory to find that there are not many bjam.exeand b2.exe files in the dosflash directory. If you run the SDK as an administrator, no results will be returned.

Then I simply restarted my computer and solved the problem.

2. The next step is to compile. If you compile the command, you can search it online. The key is:CLIf you do not know any other problem, you can solve it. Right-click shift + in the boost directory, and select to open the command line here. After the dos window is displayed, enter set to view the environment variable information and you will see information similar to this.

We can see that vs2012 is used, so I enter this command:Call "% VS110COMNTOOLS %" vsvars32.batIt solved cl's unrecognized problems.

... The next step is to compile the program with more than 10 points.

The rest is used to add the include directory in the general options of 1. C/C ++.

2. Add the library directory in the connector.

 

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.