我正在尝试通过以下方式进行增强源构建:
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;
原文地址:https://www.jb51.cc/c/118724.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。