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

cuda/include/cuda.h No such file or directory #60

Open
mathpopo opened this issue Dec 5, 2018 · 6 comments
Open

cuda/include/cuda.h No such file or directory #60

mathpopo opened this issue Dec 5, 2018 · 6 comments

Comments

@mathpopo
Copy link

mathpopo commented Dec 5, 2018

Fixed this by specifying paths using -I while running the nvcc command. Another error popped up which required a cuda_config.h file. Removing -D GOOGLE_CUDA=1 solved this.

@chanajianyu
Copy link

this does not work!can you show your code for detail?

@alistarhu
Copy link

In bash file make.sh, you may need to add -I /usr/local for nvcc compile. It works for me.

@shipeizhen
Copy link

Fixed this by specifying paths using -I while running the nvcc command. Another error popped up which required a cuda_config.h file. Removing -D GOOGLE_CUDA=1 solved this

Fixed this by specifying paths using -I while running the nvcc command. Another error popped up which required a cuda_config.h file. Removing -D GOOGLE_CUDA=1 solved this.

It works for me. Thanks a lot.

@dulibubai
Copy link

can you show the detalis?Thanks a lot!

@dulibubai
Copy link

how to specify paths using -I while running the nvcc command? how to run the nvcc command?

@dulibubai
Copy link

I /usr/local add to where in the make.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants