Creating 'boost' libs for Visual Studio 2015. |
1. Download boost library (for example 1.64.0) and unzip it. 2. Run 'bootstrap.bat' for unzip 'bjam.exe' file. 3. build lib for 'x86 debug': - open VS x86 Command Prompt and go to boost main dir, - type in terminal: bjam -a -d0 --toolset=msvc-14.1 address-model=32 variant=debug --build-type=complete stage link=static runtime-link=shared threading=multi install - delete (...v2) folder and rename lib folder to lib-x86-debug 4. build lib for x86 release: - open VS x86 Command Prompt and go to boost main dir, - type in terminal: bjam -a -d0 --toolset=msvc-14.1 address-model=32 variant=release --build-type=complete stage link=static runtime-link=shared threading=multi install - delete (...v2) folder and rename lib folder to lib-x86-release. 5. build lib for x64 debug: - open VS x64 Command Prompt and go to boost main dir, - type in terminal: bjam -a -d0 --toolset=msvc-14.1 address-model=64 variant=debug --build-type=complete stage link=static runtime-link=shared threading=multi install - delete (...v2) folder and rename lib folder to lib-x64-debug. 6. build lib for x64 release: - open VS x64 Command Prompt and go to boost main dir, - type in terminal: bjam -a -d0 --toolset=msvc-14.1 address-model=64 variant=release --build-type=complete stage link=static runtime-link=shared threading=multi install - delete (...v2) folder and rename lib folder to lib-x64-release. |