Skip to content

Commit

Permalink
Document cmake+MinGW (issue microsoft#3060) (microsoft#3078)
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurae2 authored and ChipKerchner committed Jun 11, 2020
1 parent d412ebe commit e571ba3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/FAQ.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,18 @@ The appropriate splitting strategy depends on the task and domain of the data, i

LightGBM supports loading data from zero-based LibSVM format file directly.

14. Why cmake cannot find the compiler when compiling LightGBM with MinGW?
--------------------------------------------------------------------------

.. code-block:: bash
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
This is a known issue of `cmake` when using MinGW. The easiest solution is to run again `cmake` to bypass the one time stopper from `cmake`.

See `Microsoft/LightGBM#3060 <https://github.com/microsoft/LightGBM/issues/3060#issuecomment-62633853>`__ for more details.

------

R-package
Expand Down

0 comments on commit e571ba3

Please sign in to comment.