我正在尝试从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的链接。提前谢谢。
答案 0 :(得分:0)
我在Homebrew存储库中创建了一个问题,很快得到了帮助。我需要使用选项--without-single。
brew reinstall boost --build-from-source --without-single