-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
cannot compile from downloaded zip file: "Eigen/Dense: No such file or directory" #5495
Comments
Thanks for using LightGBM! Since you didn't fill out the issue template (especially "commands you used to install LightGBM"), you're asking us to guess how you've installed LightGBM. I suspect that maybe you are building the project from a cloned copy of this repository, and forgot to initialize the submodules. If you've already cloned this repo with git submodule init
git submodule update --recursive Then try rebuilding. If this answer doesn't help you resolve the error, please fill out the description with all of the information that was requested. |
I‘m using Visual Studio. First I download the whole code, then I find out it's empty in the Eigen/Dense directory. It can't be compiled in the Visual Studio? |
Actually, What I'm really asking is that: How to compile it from the source under Windows OS. |
LightGBM can be compiled with Visual Studio. I'm not sure what specifically "download the code means", but if it is something other than |
Or, the problem I mentioned is solved by using your method, but another bug appears: #5499 |
For those finding this issue from search engines... the "bug" mentioned here is that the source code zip file that GitHub generates for repos does not include the source of git submodules, and as a result LightGBM cannot be compiled from source code downloaded that way. This is the same issue that was described and addressed in #5038 (comment). I'm going to close this discussion. We can use #5498 to discuss how to update LightGBM's documentation to provide better guidance around this. |
This issue has been automatically locked since there has not been any recent activity since it was closed. |
when I compile it. Eigen/Dense”: No such file or directory
Description
Reproducible example
Environment info
LightGBM version or commit hash:
Command(s) you used to install LightGBM
Additional Comments
The text was updated successfully, but these errors were encountered: