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

E: Unable to locate package -DUSE_CUDA #2851

Closed
jameszhou-gl opened this issue Nov 1, 2017 · 1 comment
Closed

E: Unable to locate package -DUSE_CUDA #2851

jameszhou-gl opened this issue Nov 1, 2017 · 1 comment

Comments

@jameszhou-gl
Copy link

Hi,everyone.When I was building GPU support on ubuntu16.04 LTS like the these steps shown in the picture(from official website http://xgboost.readthedocs.io/en/latest/build.html).
screenshot from 2017-11-01 10-46-11
when i run the "cmake .. -DUSE_CUDA=ON",it turns out that "E: Unable to locate package -DUSE_CUDA".
How can I solve the problem?Thanks

@LeoLee1
Copy link

LeoLee1 commented Nov 1, 2017

In my case, I should use the git command like the below.
git clone **--recursive** https://github.com/dmlc/xgboost
And then try to build it again. Hope to help the installation for you.

@tqchen tqchen closed this as completed Jul 4, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Oct 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants