Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] document one more workaround for CMake and MinGW build and fix typos #3081

Merged
merged 1 commit into from
May 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R-package/tests/testthat/test_lgb.Booster.R
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ test_that("Booster$update() passing a train_set works as expected", {
expect_true(lgb.is.Booster(bst))
expect_equal(bst$current_iter(), nrounds + 1L)

# train with 3 rounds directlry
# train with 3 rounds directly
bst2 <- lightgbm(
data = as.matrix(agaricus.train$data)
, label = agaricus.train$label
Expand Down
6 changes: 3 additions & 3 deletions docs/FAQ.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,17 +186,17 @@ 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?
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`.
This is a known issue of CMake when using MinGW. The easiest solution is to run again your ``cmake`` command to bypass the one time stopper from CMake. Or you can upgrade your version of CMake to at least version 3.17.0.

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

------

Expand Down