Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when compiling nms_gpu_mex #187

Open
ghost opened this issue Feb 9, 2018 · 0 comments
Open

Error when compiling nms_gpu_mex #187

ghost opened this issue Feb 9, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 9, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants