Error compiling Matcovnet - Error using MEX

2 vues (au cours des 30 derniers jours)
Babi2
Babi2 le 13 Jan 2018
Commenté : Sautami Basu le 15 Juil 2020
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.

Réponses (3)

Richa
Richa le 21 Mar 2018
hi,
Did u find a solution to this? I a also facing this issue. Kindly help

Ranadeep Deb
Ranadeep Deb le 27 Oct 2018
Hi,
Did you find a solution for this issue?

sheyda Ghanbaralizadeh
sheyda Ghanbaralizadeh le 29 Nov 2019
Hi, could anybody solve this issue? I faced it too
  1 commentaire
Sautami Basu
Sautami Basu le 15 Juil 2020
Hi
Even i am facing this error.
If anybody know the solution Please help to resolve this error.
Thanks

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by