- 安装cmake(64位)
- 安装Visual Studio(2017)
- 安装Rtools(64位)
- 更改系统变量中的路径为"C:\Program Files\CMake\bin\cmake;"
- 使用预编译的dll/lib文件安装lightgbm
-->
devtools::install_github("Laurae2/lgbdl", force = TRUE)
library(lgbdl)
lgb.dl(commit = "master",
compiler = "vs",
repo = "https://github.com/Microsoft/LightGBM")
*** arch - i386
installing via 'install.libs.R' to C:/Users/X1/Documents/R/win-
library/3.5/lightgbm
Error in eval(ei, envir) : Cannot find lib_lightgbm.dll
* removing 'C:/Users/XXX/Documents/R/win-library/3.5/lightgbm'
In R CMD INSTALL
installation of package
�C:/Users/XXX/AppData/Local/Temp/RtmpczNLaN/LightGBM/R-package� had non-
zero exit status[1] FALSE
有任何想法如何解决这个问题吗?