matlab - Error: compilation of \cimgnbmap_lower.cpp failed -
i using matlab code multiscale image segmentation writtern timothee cour (inria), stella yu (boston college), jianbo shi (upenn) (c) 2004 university of pennsylvania, computer , information science department.
from
> http://timotheecour.com/software/ncut_multiscale/ncut_multiscale.html
when tried run compiledir function faced error:
i using matlab r2013a
compiledir can change home, image, , results directories if want ; see startup/definepaths ********************************* error: compilation of \cimgnbmap_lower.cpp failed : usage: mex [option1 ... optionn] sourcefile1 [... sourcefilen] [objectfile1 ... objectfilen] [libraryfile1 ... libraryfilen]
use -help option more information, or consult matlab api guide. c:\progra~1\matlab\r2013a\bin\mex.pl: error: unrecognized switch: -argcheck. ********************************* error: compilation of \mex_xindicatortimesx.cpp failed : usage: mex [option1 ... optionn] sourcefile1 [... sourcefilen] [objectfile1 ... objectfilen] [libraryfile1 ... libraryfilen] use -help option more information, or consult matlab api guide. c:\progra~1\matlab\r2013a\bin\mex.pl: error: unrecognized switch: -argcheck. ********************************* error: compilation of \mex_affinity_option.cpp failed : usage: mex [option1 ... optionn] sourcefile1 [... sourcefilen] [objectfile1 ... objectfilen] [libraryfile1 ... libraryfilen] use -help option more information, or consult matlab api guide. c:\progra~1\matlab\r2013a\bin\mex.pl: error: unrecognized switch: -argcheck. ********************************* error: compilation of \mex_computerowsum.cpp failed : usage: mex [option1 ... optionn] sourcefile1 [... sourcefilen] [objectfile1 ... objectfilen] [libraryfile1 ... libraryfilen] use -help option more information, or consult matlab api guide. c:\progra~1\matlab\r2013a\bin\mex.pl: error: unrecognized switch: -argcheck. ********************************* error: compilation of \mex_constraint_classes.cpp failed : usage: mex [option1 ... optionn] sourcefile1 [... sourcefilen] [objectfile1 ... objectfilen] [libraryfile1 ... libraryfilen] use -help option more information, or consult matlab api guide. c:\progra~1\matlab\r2013a\bin\mex.pl: error: unrecognized switch: -argcheck. ********************************* error: compilation of \mex_extractmaxima.cpp failed : usage: mex [option1 ... optionn] sourcefile1 [... sourcefilen] [objectfile1 ... objectfilen] [libraryfile1 ... libraryfilen] use -help option more information, or consult matlab api guide. c:\progra~1\matlab\r2013a\bin\mex.pl: error: unrecognized switch: -argcheck. ********************************* error: compilation of \mex_istril.cpp failed : usage: mex [option1 ... optionn] sourcefile1 [... sourcefilen] [objectfile1 ... objectfilen] [libraryfile1 ... libraryfilen] use -help option more information, or consult matlab api guide. c:\progra~1\matlab\r2013a\bin\mex.pl: error: unrecognized switch: -argcheck. ********************************* error: compilation of \mex_neighborw.cpp failed : usage: mex [option1 ... optionn] sourcefile1 [... sourcefilen] [objectfile1 ... objectfilen] [libraryfile1 ... libraryfilen] use -help option more information, or consult matlab api guide. c:\progra~1\matlab\r2013a\bin\mex.pl: error: unrecognized switch: -argcheck. ********************************* error: compilation of \mex_normalizecolumns.cpp failed : usage: mex [option1 ... optionn] sourcefile1 [... sourcefilen] [objectfile1 ... objectfilen] [libraryfile1 ... libraryfilen] use -help option more information, or consult matlab api guide. c:\progra~1\matlab\r2013a\bin\mex.pl: error: unrecognized switch: -argcheck. ********************************* error: compilation of \mex_projection_qr_symmetric.cpp failed : usage: mex [option1 ... optionn] sourcefile1 [... sourcefilen] [objectfile1 ... objectfilen] [libraryfile1 ... libraryfilen] use -help option more information, or consult matlab api guide. c:\progra~1\matlab\r2013a\bin\mex.pl: error: unrecognized switch: -argcheck. ********************************* error: compilation of \mex_w_times_x_symmetric_tril.cpp failed : usage: mex [option1 ... optionn] sourcefile1 [... sourcefilen] [objectfile1 ... objectfilen] [libraryfile1 ... libraryfilen] use -help option more information, or consult matlab api guide. c:\progra~1\matlab\r2013a\bin\mex.pl: error: unrecognized switch: -argcheck. ********************************* error: compilation of \spmtimesd.cpp failed : usage: mex [option1 ... optionn] sourcefile1 [... sourcefilen] [objectfile1 ... objectfilen] [libraryfile1 ... libraryfilen] use -help option more information, or consult matlab api guide. c:\progra~1\matlab\r2013a\bin\mex.pl: error: unrecognized switch: -argcheck. there 0 files compiled error: there 12 erroneous files during compilation \cimgnbmap_lower.cpp \mex_xindicatortimesx.cpp \mex_affinity_option.cpp \mex_computerowsum.cpp \mex_constraint_classes.cpp \mex_extractmaxima.cpp \mex_istril.cpp \mex_neighborw.cpp \mex_normalizecolumns.cpp \mex_projection_qr_symmetric.cpp \mex_w_times_x_symmetric_tril.cpp \spmtimesd.cpp ans = 1x12 struct array fields: iserrorduringcompilation iscompilationfailed message compiledfilename file iserror >>
i installed matlab r2015a, problem solved.
Comments
Post a Comment