ShaoqingRen / faster_rcnn

Faster R-CNN
Other
2.7k stars 1.22k forks source link

Error in nvmex (line 48) eval(mexCommandLine); #167

Open pallavimitra opened 7 years ago

pallavimitra commented 7 years ago

I am running the code faster_rcnn_build.m code and I am getting the error Error using mex gcc: error: nms_gpu_mex.o: No such file or directory

Error in nvmex (line 48) eval(mexCommandLine); why is the error coming? is there any problem related to nvmex?

Robin970822 commented 7 years ago

Change the line 8 in /functions/nms/nvmex.m to your own c++ compiler like this Host_Compiler_Location = '-ccbin "E:\visual studio\VC\bin\x86_amd64"';

xxxhycl2010 commented 6 years ago

the answer of @Robin970822 is right, it does work for me. you have to modify the compile path change /functions/nms/nvmex.m to your own c++ compiler like this Host_Compiler_Location = '-ccbin "D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"';

moonriversg commented 6 years ago

On my pc , although the compile path is right , the error still exisits...