【问题标题】:Homebrew - Boost failed to build on 10.10.5 Yosemite with layout=system and --build-from-sourceHomebrew - Boost 无法使用 layout=system 和 --build-from-source 在 10.10.5 Yosemite 上构建
【发布时间】:2015-09-25 20:45:02
【问题描述】:

我正在尝试从 Homebrew 构建 Boost 库。我正在使用 layout=system 来获取未标记的构建(基于this stackoverflow post),但构建没有通过。错误信息如下:

error: Name clash for '<p/usr/local/Cellar/boost/1.58.0/lib>libboost_system.dylib'
error: 
error: Tried to build the target twice, with property sets having 
error: these incompatible properties:
error: 
error:     -  <threading>multi
error:     -  <threading>single
error: 
error: Please make sure to have consistent requirements for these 
error: properties everywhere in your project, especially for install
error: targets.

这是homebrew generated gist 的链接。提前谢谢你。

【问题讨论】:

    标签: c++ boost homebrew osx-yosemite


    【解决方案1】:

    我在 Homebrew 存储库上创建了一个问题,并很快得到了帮助。我需要使用选项 --without-single。

    brew reinstall boost --build-from-source --without-single
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-06
      相关资源
      最近更新 更多