Windows上安装LightGBM的Boost编译失败:'<pc:\ boost \ boost-build \ lib> libboost_atomic.a'的名称冲突

时间:2019-01-28 03:27:33

标签: boost lightgbm

我正在尝试在Windows系统上安装LightGBM GPU版本(我正在Windows上使用Anaconda for Python)。我从一开始就遵循 installation guide

我已经成功完成了前两个任务: 安装适当的OpenCL SDK 安装MinGW

但是,在进行Boost编译命令后,我遇到了错误:

b2 install --build_dir="C:\boost\boost-build" --prefix="C:\boost\boost-build" toolset=gcc --with=filesystem,system threading=multi --layout=system release

错误消息如下:

error: Name clash for 'libboost_atomic.a'
error:
error: Tried to build the target twice, with property sets having
error: these incompatible properties:
error:
error:     -  64
error:     -  32
error:
error: Please make sure to have consistent requirements for these
error: properties everywhere in your project, especially for install
error: targets.

请向我分享有关如何解决该问题的任何建议?

0 个答案:

没有答案