VS2019 configures boost library under win10

Step 1: Download from the official website: https://www.boost.org/users/history/version_1_73_0.html

win10 select boost_1_73_0.zip

Step 2: Unzip

Step 3: Compile

Open the VS command line

Select the compressed boost_1_73_0 folder

run bootstrap.bat

After success, run the b2 just generated

At this time, the running time is longer.

Step Four: Setup

Select the project properties in vs, under the vc++ directory, add the boost path ****\boost_1_73_0 to the include directory, add *****\boost_1_73_0\stage\lib to the library directory

success

 

Guess you like

Origin blog.csdn.net/mmk27_word/article/details/107485271