gpu在Win10上安装LightGBM时出现问题

时间:2018-07-20 16:21:04

标签: cmake compilation lightgbm

我目前正在使用gpu(NVIDIA1080Ti)在Win10上安装LightGBM。

我已按照https://lightgbm.readthedocs.io/en/latest/GPU-Windows.html的说明进行操作,并安装了CMake 3.12和Visual Studio 2017。

但是命令

cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DUSE_GPU=1 ..

给我一​​个错误:

CMake Error at CMakeLists.txt:11 (PROJECT): Generator

    NMake Makefiles

  does not support platform specification, but platform

    x64

  was specified.


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

任何人都可以给我一些帮助!

非常感谢!

0 个答案:

没有答案