mex compile failed, Matlab R2013a, OSX yosemite.

1 view (last 30 days)
Srinivas
Srinivas on 13 Jun 2015
Commented: Jan on 13 Jun 2015
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
Srinivas
Srinivas on 13 Jun 2015
Found the error. There was a space missing. The code needs to be: -mmacosx-version-min=10.9 -std=c++11
Jan
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!

Sign in to comment.

Answers (0)

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!