[docs] Document cmake+MinGW (fixes #3060) #3078
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR documents the solution to the issue found on #3060 (workaround of PR #664).
Users should run
cmake
twice when the compiler is MinGW, becausecmake
has a one time stopper when it detects MinGW.This one time stopper was removed from
cmake
on the following commit: 3421bc6#diff-473c89bfc9641f554ac12d37ebc3d377R61 (version = ???)This issue also applies to most of R users who use MinGW as the compiler of choice (default of Rtools, and for those modifying the LightGBM installation script to explicitly compile using MinGW).