在安装第一步时> devtools::install_github('dmlc/xgboost',subdir='R-package')
出错,提示找不到logging这个头文件,如何解决?
xgboost_R.cc:2:10: fatal error: 'dmlc/logging.h' file not found
#include
^
1 error generated.
make: *** [xgboost_R.o] Error 1
ERROR: compilation failed for package ‘xgboost’
* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/xgboost’
错误: Command failed (1)
此外: Warning message:
GitHub repo contains submodules, may not function as expected!
出错,提示找不到logging这个头文件,如何解决?
xgboost_R.cc:2:10: fatal error: 'dmlc/logging.h' file not found
#include
^
1 error generated.
make: *** [xgboost_R.o] Error 1
ERROR: compilation failed for package ‘xgboost’
* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/xgboost’
错误: Command failed (1)
此外: Warning message:
GitHub repo contains submodules, may not function as expected!