How to do when I need boost headfiles (on OSX) ?

Assume that you are on OS X, and you need headfiles for boost.

https://github.com/boostorg/boost.git --depth 1 ## <~ (Search 'boost' on github.com and clone)
cd boost/
git pull --unshallow
git reset --hard 436ad1d ## (Reset to special version, check from its release page on github.com)
git submodule update --init ## (Maybe build another branch will be betta)
./bootstrap.sh
./b2 ## (Maybe ./b2 install)
## (Maybe Ok)

headfiles will place to /usr/local/include/boost/

posted @ 2020-01-17 18:32  Faiz-Lisp  阅读(105)  评论(0编辑  收藏  举报