LightGBM icon indicating copy to clipboard operation
LightGBM copied to clipboard

Instalation without MS Visual Studio

Open gugatr0n1c opened this issue 10 years ago • 6 comments

Hi,

is there any chance to get working this library without using Visual Studio (Win7 64bit, Win10 64bit)?

a] pre-built, e.i. as mxnet is providing?

b] using something else like MinGW as XGBoost is supporting?

gugatr0n1c avatar Nov 14 '16 14:11 gugatr0n1c

@gugatr0n1c , It hasn't been tested. But if you have MSBuild installed, you can using cmake to build it. It could also be build under MinGW environment.

chivee avatar Nov 14 '16 14:11 chivee

close for now, feel free to reopen

guolinke avatar Nov 20 '16 01:11 guolinke

Is there a suggested version of MinGW to use? I tried the original and mingw-w64 and both failed to compile at the make step.

sockfull avatar Apr 01 '17 18:04 sockfull

@sockfull https://github.com/Microsoft/LightGBM/wiki/Installation-Guide#cmake-with-mingw

guolinke avatar Apr 02 '17 00:04 guolinke

I was using those commands from the installation guide when I got errors. I am wondering if I have not setup MinGW appropriately though, I have only used it once before to compile . I downloaded it from here: https://sourceforge.net/projects/mingw/files/ for the installer. The gcc and base installations are installed, and cmake from https://cmake.org.

Are those the tools you would recommend to compile in windows 10?

sockfull avatar Apr 02 '17 19:04 sockfull

This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

github-actions[bot] avatar Aug 24 '23 02:08 github-actions[bot]