码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2020-01-17 18:54:26      阅读:87      评论:0      收藏:0      [点我收藏+]

标签:page   ace   when   clone   pull   upd   from   boost   boot   

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/

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

标签:page   ace   when   clone   pull   upd   from   boost   boot   

原文地址:https://www.cnblogs.com/faiz-lisp/p/12207122.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!