Error: "Could NOT find OpenMP_C" when install LightGBM on MacOS

Viewed 1901

While installing LightGBM on Mac OS, I got the following error:

CMake Error at /usr/local/Cellar/cmake/3.12.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
Call Stack (most recent call first): 
  /usr/local/Cellar/cmake/3.12.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.12.4/share/cmake/Modules/FindOpenMP.cmake:466 (find_package_handle_standard_args)
  CMakeLists.txt:82 (find_package)

enter image description here

I am following the official manual, the error comes at cmake .. step:

enter image description here

Thank you for your help if you can help me.

0 Answers
Related