参照 http://m.blog.csdn.net/article/details?id=50897716
两篇文章的结果,保证了安装成功。
安装软件参照了第一篇文章,安装了Anaconda,git,mingw-w64,没有用到cygwin。
具体的安装命令用到了第二篇文章:
git clone --recursive https://github.com/dmlc/xgboost
cd xgboost
git checkout 9a48a40
git submodule init
git submodule update
cp make/mingw64.mk config.mk
cp make/mingw64.mk dmlc-core/config.mk
cd
rabit
make lib/librabit_empty.a -j4
cd
../dmlc-core
make -j4
cd
..
make -j4
特别是:
git checkout 9a48a40
感觉比较关键,
不然make的时候总是出问题,具体原因还不太清楚。