LightGBM windows installation issue - cmake - does not support platform specification

后端 未结 1 1038
时光取名叫无心
时光取名叫无心 2021-01-27 13:57

I am trying to install LightGBM in windows 10 using cmake.

I am following the process given on this link

on this command

cmake -DCMAKE_GENERATOR_         


        
1条回答
  •  甜味超标
    2021-01-27 14:21

    Platform specification is mainly used for Visual Studio generator. Sometimes, CMake uses this generator by default. In other cases, you need to specify generator explicitly, with -G option:

    cmake -G "Visual Studio 15 2017" -DCMAKE_GENERATOR_PLATFORM=x64 ..
    

    (Make sure that generator corresponds to the Visual Studio which you actually have. See list of Visual Studio generators supported by CMake.)

    0 讨论(0)
提交回复
热议问题