ShaoqingRen/faster_rcnn

Error when compiling nms_gpu_mex

Opened this issue · 0 comments

I am receiving an error when trying to run the faster_rcnn_build.m file. I am running Windows 10, Matlab 2017a, and MinGW64 version 4.9.2 to compile from .mex files. This is the console output from running the faster_rcnn_build.m script.

Compiling nms_mex
Building with 'MinGW64 Compiler (C++)'.
MEX completed successfully.
Compiling nms_gpu_mex

nvcc --compile -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64" -o nms_gpu_mex.o --machine 64 -I"C:\Program Files\MATLAB\R2017a/extern/include " -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\include" -I"\common\inc" "functions/nms/nms_gpu_mex.cu"

Failed to run C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64 (The system cannot find the file specified.).

mex -outdir bin nms_gpu_mex.o -L"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\lib\x64" -lcudart
Building with 'MinGW64 Compiler (C)'.
Error using mex
gcc: error: nms_gpu_mex.o: No such file or directory

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

Error in faster_rcnn_build (line 23)
nvmex('functions/nms/nms_gpu_mex.cu', 'bin');

I have heard there are issues with visual studio and faster rcnn on Windows 10. Does anyone know what might be causing this issue or any further suggestions?

Thank you.