error happens when install xgboost4.0 in windows7, python2.7
问题 Here is the process I tried to install xgboost: git clone --recursive https://github.com/dmlc/xgboost git submodule init git submodule update cp make/mingw64.mk config.mk It was good until I ran the code in my git bash make -j4 It goes wrong: F:/mingw64/x86_64-w64-mingw32/include/stdio.h:450:83: error: 'FILE* std::fopen(const char*, const char*)' should have been declared inside 'std' FILE *fopen64(const char * __restrict__ filename,const char * __restrict__ mode); ^ F:/mingw64/x86_64-w64