-
Notifications
You must be signed in to change notification settings - Fork 50
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
AppleClang not supported -- Setup on Mac. #12
Comments
Sorry I haven't tried to compile this repo on MAC environment. But since the major part is based on original LightGBM, it seems that you can follow the same instruction by them to finish compilation. Could you please provide the log that you install original LightGBM and our version? |
I did follow the same instructions as given by the original LightGBM repo and it lead to the same error when setting up this repo. However when I tried to setup LightGBM using the same instructions, it worked perfectly. Thinking that its an issue with the Mac environment, I also tried to setup this repo on a linux aws ec2 instance. This led to a different error. I am not entirely sure what you meant by 'provide the log that you install original LightGBM and our version'. I am hence sharing the build files for all the three different times (unbiasedLM on ec2 linux server & mac, and LGBM on Mac) I tried to set up these repos. Please do let me know if there are some specific files that you want me to provide you. unbiasedlgbm_build_ec2.zip |
Hey! I have figured out the issue that was there and have successfully installed it on the AWS EC2 environment. The Cmake version was 2.8 whereas the repo required a higher version. I installed a higher version of the Cmake : 3.15. There was also no OpenMP support and hence I changed the following lines in Unbias_LightGBM/CMakeLists.txt file:
Deleted the lines above and replaced it with the following:
Will give an update when I try to set this up on Mac environment. |
I am trying to setup up this repo on Mac Mojave 10.14.4. When I make the build directory and run 'cmake ..' from it, it shows me the following error:
CMake Error at CMakeLists.txt:27 (message):
AppleClang wasn't supported. Please see
https://github.com/Microsoft/LightGBM/blob/master/docs/Installation-Guide.rst#macos
-- Configuring incomplete, errors occurred!
Went to the above link and installed cmake and libomp through brew. I copied the cmake command that is given in the above link and it still showed me the same error as before.
When I try to install LightGBM through the same process, it works seamlessly.
How do I solve this issue and setup this repo?
The text was updated successfully, but these errors were encountered: