Found the error. There was a space missing. The code needs to be: -mmacosx-version-min=10.9 -std=c++11
mex compile failed, Matlab R2013a, OSX yosemite.
1 view (last 30 days)
Show older comments
I am trying to compile a mex file as a part of my program and am getting a clang error.
clang: error: invalid version number in '-mmacosx-version-min=10.9-std=c++11'
mex: compile of ' "sor_warping_flow_multichannel_LDOF.cpp"' failed.'
Error using mex (line 206)
Unable to complete successfully.
It seems to be some problem with my mexopts.sh file. Can anyone help me solving this problem?
2 Comments
Jan
on 13 Jun 2015
Please post this as an answer and accept it, such that the readers know, that it is solved already. Thanks!
Answers (0)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!