我正在尝试通过以下方式进行增强源构建:
git clone --recursive https://github.com/boostorg/boost.git cd boost ./bootstrap ./b2 link=shared threading=multi variant=release --without-mpi
这会出现以下错误消息:
error: Name clash for '<pstage/lib>libboost_system.so.1.58.0' error: error: Tried to build the target twice,with property sets having error: these incompabile properties: error: error: - none error: - <address-model>64 <architecture>x86 error: error: Please make sure to have consistent requirements for these error: properties everywhere in your project,especially for install error: targets.
解决方法
我能够使用
https://stackoverflow.com/a/27885628/200985的建议进行构建.我正在编译分支boost-1.57.0,我开始编译分支boost-1.56.0,它也超过了这一点.总结一下,我跑了
git co boost-1.57.0; ./bootstrap.sh --prefix=/home/me/builds/development; ./b2 --prefix=/home/me/builds/development -j9 --without-context --without-coroutine;