I am trying to run a script which requires mex. Earlier It was generating the below error
Error using mex
No supported compiler or SDK was found. For options, visit
http://www.mathworks.com/support/compilers/R2015a/win64.html.
Error in faster_rcnn_build (line 13)
mex -O -outdir bin ...
Above error got resolved after installing "Microsoft Windows SDK 7.1". I also had to restore the compiler as mentioned in this link because of some issue. Now I am stuck with this new error.
Error using mex
nms_mex.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\intrin.h(26) : fatal
error C1083: Cannot open include file: 'ammintrin.h': No such file or directory

 채택된 답변

Walter Roberson
Walter Roberson 2017년 11월 24일

0 개 추천

댓글 수: 4

Thanks that error got resolved. But Now new error is coming
Error using mex
MEX cannot find library 'cudart' specified with the -l option.
MEX looks for a file with one of the names:
cudart.lib
libcudart.lib
Please specify the path to this library with the -L option.
Error in nvmex (line 48)
eval(mexCommandLine);
Error in faster_rcnn_build (line 23)
nvmex('functions/nms/nms_gpu_mex.cu', 'bin');
Walter Roberson
Walter Roberson 2017년 11월 25일
You need to (re-) install the CUDA development tools from NVIDIA.
Atinesh Singh
Atinesh Singh 2017년 11월 25일
I do not have NVIDIA GPU, I can not use CUDA.
Walter Roberson
Walter Roberson 2017년 11월 25일
The code you are attempting to compile appears to be "Faster R-CNN" from https://github.com/ShaoqingRen/faster_rcnn . Notice the hardware requirements:
GPU: Titan, Titan Black, Titan X, K20, K40, K80.
All of those are NVIDIA GPUs.
R-CNN requires NVIDIA GPU.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with GPU Coder에 대해 자세히 알아보기

태그

질문:

2017년 11월 24일

댓글:

2017년 11월 25일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by