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

g++ error #32

Closed
powermano opened this issue Jun 19, 2018 · 3 comments
Closed

g++ error #32

powermano opened this issue Jun 19, 2018 · 3 comments

Comments

@powermano
Copy link

when i run the bash make.sh, the following error occurs:
~/light_head_rcnn/lib
~/light_head_rcnn/lib/lib_kernel/lib_fast_nms ~/light_head_rcnn/lib
make.sh: 5: make.sh: nvcc: not found
g++: error: nms_op.cu.o: No such file or directory

what is the problem

@powermano
Copy link
Author

When i solve above problem, new issue comes:

fatal error: cuda/include/cuda.h: No such file or directory

And i find the cuda.h at /usr/local/cuda-9.0/include/cuda.h , what can i do next? How export the CPATH?

@wm10240
Copy link

wm10240 commented Jun 21, 2018

@powermano I also have same error, like:

cuda_kernel_helper.h:24:31: fatal error: cuda/include/cuda.h: No such file or director

I change the code in cuda_kernel_helper.h:

#include "cuda/include/cuda.h" to #include "/usr/local/cuda/include/cuda.h"

and it works

@powermano
Copy link
Author

Thanks. It finally works.

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

2 participants