Error compiling Matcovnet - Error using MEX
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(3 个)
sheyda Ghanbaralizadeh
2019-11-29
Hi, could anybody solve this issue? I faced it too
1 个评论
Sautami Basu
2020-7-15
Hi
Even i am facing this error.
If anybody know the solution Please help to resolve this error.
Thanks
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!