I tried the instructions on the habr , but did not find the xgboost / windows folder in the repository, it is not there. Tried like here through MinGW-w64, further make fails. Help, please, who faced.

    1 answer 1

    The explanation is:

    Until everything is settled, you can take the old version of the repository, in which .sln for Windows is still there. The links above show which revisions to navigate.

    But the safest thing is to use the https://xgboost.readtreadocs.org/en/latest/build.html#building-on-windows instruction (follow the link https://github.com/dmlc/xgboost/issues/831) with the mkdir command, and everything else should work).

    Addition:

    Here is an abbreviated translation of the manual from the official site:

    First you need to clone the xgboost repository. Open git-shell and run the following commands:

     git submodule init git submodule update 

    After installing Git for Windows , run Git Bash . All the following steps are performed in it:

    In MinGW, you must call mingw32-make , so you should add the following line to the .bashrc :

     alias make='mingw32-make' 

    To build xgboost in MinGW, run the following command:

     cp make/mingw64.mk config.mk; make -j4 

    Addition 2:

    The answer to the question of how to open git-shell:

    If GitHub for Windows is installed, such a shortcut should have been created. If it doesn’t exist (removed for some reason), you can run the git-shell with one of these commands (depending on the version, do not forget to insert the correct Username ):

     C:\Users\Username\AppData\Local\GitHub\GitHub.appref-ms --open-shell 

    or

     C:\Users\Username\AppData\Local\Apps\2.0\GitHub\GitHub.appref-ms --open-shell 

    Having opened git-shell with one of these commands, restore the necessary shortcuts by executing the command

     github --reinstall-shortcuts 
    • Thank you, clarified the issue with this library. I tried to download version 0.4.7, but I cannot build it, complains about the absence of xgboostjavawrapper (load failed). Could you describe in more detail? - Vitya Alexandrovich
    • Apparently, you used VS2015. It is possible either to compile an older studio, or to follow the modern path, which many people already have: xgboost.readthedocs.org/en/latest/… - Ilya
    • one
      yes no, VS 13, everything is like in Habré. Then I have a request for you, to write in more detail what to do after all. Right on points. So that a person who has only learned what python and git are is able to install without problems. That would be really great. - Vitya Alexandrovich
    • Oh, to know at what stage you had difficulty. It is possible to paint instructions in as much detail as desired, but it takes an arbitrarily long amount of time. Therefore, I supplemented the answer with a brief instruction. Please let us know at what stage you encounter problems. - Ilya
    • In this manual I have problems with git. I have an account on a githaba, but on a computer like only gitbash (?). Tell me how to plan a repository and where to look for a git shell? Is it enough just to download the archive from the githab? Thanks for the addition, of course. - Vitya Alexandrovich