faster_rcnn_pytorch icon indicating copy to clipboard operation
faster_rcnn_pytorch copied to clipboard

roi_pooling.cu.o: No such file or directory

Open wsdflink opened this issue 8 years ago • 7 comments

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.

wsdflink avatar Jun 11 '17 09:06 wsdflink

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

zhangxd12 avatar Jul 10 '17 12:07 zhangxd12

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 avatar Jul 12 '17 04:07 zhangxd12

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

zhangxd12 avatar Jul 12 '17 11:07 zhangxd12

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

ArchWing avatar Jul 26 '17 07:07 ArchWing

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

zhangxd12 avatar Jul 26 '17 10:07 zhangxd12

@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?

FrancoisPl avatar Aug 05 '17 11:08 FrancoisPl

@zhangxd12 it worked for me! thanks

lupotto avatar Apr 23 '18 00:04 lupotto