Faster-RCNN_TF icon indicating copy to clipboard operation
Faster-RCNN_TF copied to clipboard

make issue: g++: error: roi_pooling_op.cu.o: No such file or directory

Open aquibjaved opened this issue 7 years ago • 10 comments

cd $FRCN_ROOT/lib
make

After this step I am getting an error:

aquib@javed:~/Faster-RCNN_TF/lib$ make all
python setup.py build_ext --inplace
running build_ext
skipping 'utils/bbox.c' Cython extension (up-to-date)
skipping 'utils/nms.c' Cython extension (up-to-date)
skipping 'nms/cpu_nms.c' Cython extension (up-to-date)
skipping 'nms/gpu_nms.cpp' Cython extension (up-to-date)
rm -rf build
bash make.sh
make.sh: line 13: nvcc: command not found
g++: error: roi_pooling_op.cu.o: No such file or directory
g++: error: GOOGLE_CUDA=1: No such file or directory


What is this problem, how can I fix it?

aquibjaved avatar Dec 05 '16 11:12 aquibjaved

Same problem, please help.

raulpuric avatar Dec 15 '16 21:12 raulpuric

Here is your problem: make.sh: line 13: nvcc: command not found

Solution If you are using the latest version of this project, then run: export PATH=$PATH:<path_to_cuda_folder>/bin

ICapalija avatar Dec 22 '16 17:12 ICapalija

Do I need to install CUDA for this, I found that It require Nvidia GPU, But I have Radeon Graphics AMD.

aquibjaved avatar Dec 22 '16 18:12 aquibjaved

CUDA only runs on NVIDIA cards. But you can build CPU version of this project.

ICapalija avatar Dec 30 '16 12:12 ICapalija

Setting the following should make it work (it worked at least for me) (1) export PATH=$PATH:/usr/local/cuda-8.0/bin/ (or your corresponding cuda path) for your terminal (2) In make.sh file inside lib directory, do CXXFLAGS='-D_MWAITXINTRIN_H_INCLUDED'

sukritshankar avatar Feb 06 '17 16:02 sukritshankar

Where did you put the CXXFLAGS='-D_MWAITXINTRIN_H_INCLUDED' line exactly in the make.sh?

Wheele9 avatar Mar 15 '17 21:03 Wheele9

At line 4, where you see CXXFLAGS='' !!

sukritshankar avatar Mar 15 '17 21:03 sukritshankar

make.sh: line 13: nvcc: command not found g++: error: roi_pooling_op.cu.o: No such file or directory i get this error any solution

riadhayachi avatar May 06 '17 16:05 riadhayachi

I think the easiest way to solve make.sh: line 13: nvcc: command not found is to set the path of your CUDA within the lib/make.sh file @riadhayachi this should also solve your problem. g++: error: roi_pooling_op.cu.o: No such file or directory

In addition, if encounter nvcc fatal : Unknown option 'undefined' delete the $CXXFLAGS in the line of nvcc within lib/make.sh

ShunChengWu avatar Sep 11 '17 14:09 ShunChengWu

Can someone help me out, why this error is showing?

3 errors detected in the compilation of "roi_pooling_op_gpu.cu.cc".
g++: error: roi_pooling_op.cu.o: No such file or directory

Jojo-Rabbit avatar Nov 15 '21 08:11 Jojo-Rabbit