compile error with mex files
1 view (last 30 days)
Show older comments
Hello,
I am using Matlab R2013a with SDK 7.1. When compiling mex files, I got the following error:
if true
Error: compilation of \spmtimesd.cpp failed : Usage:
MEX [option1 ... optionN] sourcefile1 [... sourcefileN]
[objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN]
Use the -help option for more information, or consult the MATLAB API Guide.
C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL: Error: Unrecognized switch: -argcheck.
end
1 Comment
Anthony Poulin
on 9 Jul 2015
Edited: Anthony Poulin
on 9 Jul 2015
Hello,
Can you provide your compilation command line? (mex spmtimesd.cpp ...)
Answers (0)
See Also
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!