xgboost构建错误:参数包未使用“...”展开:

时间:2017-06-29 12:58:41

标签: c++ gpu xgboost

我正在尝试使用以下instructions构建支持GPU的xgboost。

我的ubuntu 17.04系统上安装了GCC 6。

但是,当编译器尝试构建以下模块时:

nccl/CMakeFiles/cuda_compile_1.dir/src/cuda_compile_1_generated_reduce_scatter.cu.o

我收到以下错误:

/usr/include/c++/6/tuple:605:4: error: parameter packs not expanded with ‘...’:
                bool>::type=true>
    ^
/usr/include/c++/6/tuple:605:4: note:         ‘_Elements’

任何想法如何解决?

1 个答案:

答案 0 :(得分:1)

我将我的gcc降级到4.9版本并且它有所帮助。