首先报错如下:
skipped <pbin.v2/libs/thread/build/gcc-4.8/release/link-static/threading-multi>libboost_thread.a(clean) for lack of <pbin.v2/libs/thread/build/gcc-4.8/release/link-static/threading-multi>pthread/thread.o..
编译命令是:
./bjam --with-thread stage
最后发现是个很简单的原因要默认使用 c++ 11。
命令如下:
./bjam --with-thread stage cxxflags="-std=c++11"