乐趣区

windows-10-上源码编译boost-1660

本文首发于个人博客 https://kezunlin.me/post/854071ac/,欢迎阅读!

compile boost 1.66.0 from source on windows 10

Series

  • compile boost 1.66.0 from source on ubuntu 16.04
  • compile boost 1.66.0 from source on windows 10

Guide

download

wget https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.zip
unzip boost_1_66_0.zip

compile

cd boost_1_66_0

./bootstrap.bat 

./b2 --help

./b2 --clean

./b2 -j8 toolset=msvc-14.0 address-model=64 architecture=x86 link=static threading=multi runtime-link=shared --build-type=minimal stage --stagedir=stage/x64 debug release

#./b2 -j8 toolset=msvc-14.0 address-model=32 architecture=x86 link=static threading=multi runtime-link=shared --build-type=minimal stage --stagedir=stage/win32 debug release

Reference

  • how-to-build-boost-1-60-with-visual-studio-2015

History

  • 20180301: created.

Copyright

  • Post author: kezunlin
  • Post link: https://kezunlin.me/post/854071ac/
  • Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 3.0 unless stating additionally.
退出移动版