Error compiling Matcovnet - Error using MEX

조회 수: 9 (최근 30일)
Babi2
Babi2 2018년 1월 13일
댓글: Sautami Basu 2020년 7월 15일
untar('http://www.vlfeat.org/matconvnet/download/matconvnet-1.0-beta25.tar.gz') ;
cd matconvnet-1.0-beta25
cd matlab
% move cl.exe from visual studio to matcovnet\matlab install directory
mex -setup:'C:\Users\Data Analytics Box\AppData\Roaming\MathWorks\MATLAB\R2017b\mex_C_win64.xml' C
mex -setup:'C:\Users\Data Analytics Box\AppData\Roaming\MathWorks\MATLAB\R2017b\mex_C_win64.xml' C++
vl_compilenn('EnableImreadJpeg',false)
Fails to compile
Building with 'Microsoft Visual C++ 2017'.
Error using mex
data.cpp
c1xx: fatal error C1007: unrecognized flag '-targetNT' in 'c1xx'
Error in vl_compilenn>mex_compile (line 583)
mex(args{:}) ;
Error in vl_compilenn (line 492)
mex_compile(opts, srcs{i}, objfile, flags) ;
I am using the trial version of VS17 Professional.

답변 (3개)

Richa
Richa 2018년 3월 21일
hi,
Did u find a solution to this? I a also facing this issue. Kindly help

Ranadeep Deb
Ranadeep Deb 2018년 10월 27일
Hi,
Did you find a solution for this issue?

sheyda Ghanbaralizadeh
sheyda Ghanbaralizadeh 2019년 11월 29일
Hi, could anybody solve this issue? I faced it too
  댓글 수: 1
Sautami Basu
Sautami Basu 2020년 7월 15일
Hi
Even i am facing this error.
If anybody know the solution Please help to resolve this error.
Thanks

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

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by