make issue: g++: error: roi_pooling_op.cu.o: No such file or directory
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?
Same problem, please help.
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
Do I need to install CUDA for this, I found that It require Nvidia GPU, But I have Radeon Graphics AMD.
CUDA only runs on NVIDIA cards. But you can build CPU version of this project.
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'
Where did you put the CXXFLAGS='-D_MWAITXINTRIN_H_INCLUDED' line exactly in the make.sh?
At line 4, where you see CXXFLAGS='' !!
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
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
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