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.