Home >Backend Development >C++ >How to Build Boost 1.60.0 on Windows?
How to Set Up boost_1_60_0 on Windows
For those looking to build boost on Windows, here are some step-by-step instructions:
Locate and Download boost
Download the boost_1_60_0 .zip file from the official Boost website.
Environmental Setup
Create a BOOST_ROOT environment variable pointing to the location of the extracted boost files.
Build Process
Visual Studio 2015
Open a Visual Studio tools Command Prompt and navigate to the boost_1_xx_0 directory. Run the following commands:
MinGW
Ensure that gcc/mingw is added to your system path. In a command prompt, navigate to the boost_1_xx_0 directory and run the following commands:
Note: For Boost 1.61.0 and later, you may need to replace bootstrap.bat mingw with bootstrap.bat gcc.
The above is the detailed content of How to Build Boost 1.60.0 on Windows?. For more information, please follow other related articles on the PHP Chinese website!