light_head_rcnn icon indicating copy to clipboard operation
light_head_rcnn copied to clipboard

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

Open mathpopo opened this issue 6 years ago • 6 comments

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.

mathpopo avatar Dec 05 '18 05:12 mathpopo

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

chanajianyu avatar Dec 17 '18 11:12 chanajianyu

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

alistarhu avatar Jan 14 '19 09:01 alistarhu

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.

shipeizhen avatar Apr 17 '19 09:04 shipeizhen

can you show the detalis?Thanks a lot!

dulibubai avatar Jun 26 '19 11:06 dulibubai

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

dulibubai avatar Jun 26 '19 11:06 dulibubai

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

dulibubai avatar Jun 26 '19 11:06 dulibubai