psroi_pooling_op.cu.o等文件,No such file or directory

遇到这种问题有两种情况:

1. ..../python3.5/site-packages/tensorflow/include/tensorflow/core/util/cuda_lauch_config.h    fatal error: cuda/include/cuda.h:

No such file or directory

#include "cuda/include/cuda.h"

compilation terminated.

g++: error : psalign_pooling_op.cu.o: No such file or directory

解决:在对应目录下找到cuda_lauch_config.h 文件,修改如下,可以解决问题:

#include "cuda/include/cuda.h" 修改为:#include "cuda.h"

 

2. nvcc fatal: A single input file is required for a non-ling phase when an outputfile is specified

g++: error: nms_op.cu.o: No such file or directory

 

 

你可能感兴趣的:(psroi_pooling_op.cu.o等文件,No such file or directory)