在Windows上使用zlib编译boost 1.62 / 1.63
Compiling boost 1.62/1.63 with zlib on windows
我知道这可能看起来像是重复的,但这实际上是我遇到的一个新问题。助推器方面打开了一张票,但没有人回答......(https://svn.boost.org/trac/boost/ticket/12505#comment:12)
我的问题很简单:我正在遵循与任何其他增强版本相同的步骤(通过设置 ZLIB_INCLUDE AND ZLIB_LIBPATH),但从 1.62 开始,我收到一个奇怪的错误:
Name clash for '<pbin.v2standaloneacmsvc-14.0debugaddress-model-64link-staticthreading-multi>main.obj'
...
error: Tried to build the target twice, with property sets having
error: these incompatible properties:
error:
error: - <dll-path>... <library-path>... <xdll-path>...
我还尝试通过配置自定义用户配置.jam来做到这一点,但最终得到相同的错误消息。
对于那些
感兴趣的人,如果你应用这个差异(它将伴随着boost 1.64),那么一切正常:https://github.com/boostorg/build/commit/373fb6f76962caca9da109d4fe1e820af996326d?diff=unified。
相关文章:
- 编译 Boost 时在 OS X 上的"ld:未知选项:-soname"
- 在其他容器中使用 boost::container::static_vector 时,GCC 编译错误"将'const s'绑定到类型's&'的引用丢弃限定符"
- 在 Centos7 上使用 boost 1.71.0 编译错误
- 包含来自 boost 1.73.0 的read_graphviz_new.cpp无法编译
- 编译用于Sony NMOS实现的C++boost库
- Simple_ls.cpp的C++Boost编译错误-未找到对Boost的引用::文件系统::路径::文件名
- python的Boost编译错误
- 在 Ubuntu 14.04 上使用 boost 编译:未定义对 'boost::thread::get_id() const' 的引用
- 使用boost编译时出错
- 关于使用cmake和boost编译c++代码的错误
- ubuntu服务器14.04上的Boost编译失败
- 使用boost编译错误.图1.56.0和g++ 4.6.4
- OS X 10.8.5下的Boost编译错误
- Boost编译标记gcc错误
- 使用mingw的boost编译错误
- Boost编译标志,它是什么意思
- Boost编译问题
- 用boost编译一些代码.Python在win7-64位
- 不能用boost编译
- 使用boost编译以使用可用的boost版本