Ubuntu 14.04 安装 boost 1_57_0

参考:

How to build boost 1_57_0 Ubuntu platform

Ubuntu 14.04 安装 boost 1_57_0

$ sudo mkdir /opt/download
$ cd /opt/download/
$ sudo wget http://downloads.sourceforge.net/project/boost/boost/1.57.0/boost_1_57_0.tar.gz
$ sudo tar -vxf boost_1_57_0.tar.gz

$ cd /opt/download/boost_1_57_0
$ ./bootstrap.sh
$ ./b2
$ ./bjam -j8 variant=release link=static runtime-link=shared threading=multi install --layout=system \
      --prefix=/usr --with-system --with-thread --with-locale --with-atomic --with-coroutine \
      --with-context --with-filesystem --with-program_options --with-regex --with-date_time --with-timer \
      --with-chrono --with-python

2017.12

posted @ 2017-12-21 10:56  Wasdns  阅读(345)  评论(0编辑  收藏  举报