longcw / faster_rcnn_pytorch

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

roi_pooling.cu.o: No such file or directory #25

Open wsdflink opened 7 years ago

wsdflink commented 7 years ago

gcc: error: /xx/faster_rcnn_pytorch/faster_rcnn/roi_pooling/src/cuda/roi_pooling.cu.o: No such file or directory

when run ./make.sh in the path /faster_rcnn_pytorch/faster_rcnn.

zhangxd12 commented 7 years ago

I also meet this error, do you have solved it ? Thank you !

zhangxd12 commented 7 years ago

It seems that I have solved this problem (I run the demo.py successfully). Just follow this https://github.com/CharlesShang/TFFRCNN/issues/34

I run nvcc --version and tell me that I have to install nvidia-cuda-toolkit, so I command , sudo apt install nvidia-cuda-toolkit and then, it runs.

zhangxd12 commented 7 years ago

I find another simple way , maybe you doesn't add mvcc path to your environment export PATH=$PATH:/usr/local/cuda/bin source ~/.bashrc

ArchWing commented 7 years ago

but I meet the problem like this:

nvcc fatal : Unknown option 'std' g++: error: roi_pooling_op.cu.o: No such file or directory

follow you, it doesn't work,can you help me

zhangxd12 commented 7 years ago

Have you installed the nvcc ? Maybe you have not installed it or its path is wrong

FrancoisPl commented 7 years ago

@ArchWing I think this error happens when something failed befor (namely compiling the roi_pooling file). Can you check whether there was an error before that?

lupotto commented 6 years ago

@zhangxd12 it worked for me! thanks