For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
Operating System:
Windows 8.1
Compiler:
Visual Studio 2013
Package used (python/R/jvm/C++):
Python
xgboost
version used:
If installing from source, please provide
git rev-parse HEAD
)If you are using python package, please provide
xgboost
if you are not installing from sourceIf you are using R package, please provide
sessionInfo()
xgboost
if you are not installing from sourceHi, I was trying to install xgboost by following steps at http://stackoverflow.com/questions/33749735/how-to-install-xgboost-package-in-python-windows-platform
I was stuck at step 3 when running cmake .. G"Visual Studio 12 2013 Win64". The error I get is
CMake Error at CMakeLists.txt:76 (add_subdirectory):
The source directory
D:/xgboost_dir/dmlc-core
does not contain a CMakeLists.txt file.
-- Configuring incomplete, errors occurred!
I was calling cmake from build directory.
Thank you.
1.
2.
3.
This issue is resolved by running in the local cloned xgboost directory
git submodule init
git submodule update
@wenbo5565 can you tell the reason why type "git submodule init" and "git submodule update" can solve this problem?? Thank you so much
@guoyuhaoaaa I am not sure the reason. Possibly I found this solution on google. You could try if you can find more details there.
Most helpful comment
This issue is resolved by running in the local cloned xgboost directory