Mex on Mavericks with R2012b
Ältere Kommentare anzeigen
I am running Matlab R2012b and updated to Mac OS Mavericks and Xcode 5. Now I can't compile my c++ code into mex files anymore: /Applications/MATLAB_R2012b.app/bin/mex: line 305: llvm-gcc-4.2: command not found /Applications/MATLAB_R2012b.app/bin/mex: line 1326: llvm-g++-4.2: command not found
What to do?
2 Kommentare
Fabio
am 25 Okt. 2013
I have the same problem here!!!
Yimeng Zhang
am 28 Okt. 2013
Can anybody provide a solution for R2013a? Thanks.
Akzeptierte Antwort
Weitere Antworten (3)
xinhao liu
am 25 Okt. 2013
You should soft link the llvm compiler, In the terminal:
cd /usr/bin
sudo ln -fs clang llvm-gcc-4.2
sudo ln -fs clang++ llvm-g++-4.2
I think the Mathworks will release some patch for the problem later, but right now it works for me.
2 Kommentare
Rasim Dilan
am 28 Okt. 2013
Thank you. This works well for me.
huijing
am 9 Nov. 2013
tried out so many solutions, finally this works for me, thank you very much
Xu Tian
am 15 Nov. 2013
0 Stimmen
WOW!!! Thanks a lot! That does work for me!
Chris
am 14 Okt. 2014
0 Stimmen
Does this work around work for C-code as well?
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!