longcw / faster_rcnn_pytorch

Faster RCNN with PyTorch
MIT License
1.7k stars 466 forks source link

make.sh error #62

Open gbc8181 opened 6 years ago

gbc8181 commented 6 years ago

Hi,

I am sure that I installed Cuda-8.0 with CUDNN 7 but every time I tried: sudo make, it shows some errors. When I tried "nvcc --version", it can show me the correct information: Cuda compilation tools, release 8.0, V8.0.61. I am so confused by that and want to know how to solve it.

Thanks, Peter

sh make.sh /usr/local/lib/python2.7/dist-packages/tensorflow/include make.sh: 9: make.sh: nvcc: not found g++: error: roi_pooling_op.cu.o: No such file or directory make.sh: 24: make.sh: nvcc: not found g++: error: psroi_pooling_op.cu.o: No such file or directory

lixiang0 commented 6 years ago

try to set LD_LIBRARY_PATH and PATH like this: export LD_LIBRARY_PATH=/usr/local/cuda/lib export PATH=$PATH:/usr/local/cuda/bin