Mex on Mavericks with R2012b
Mostra commenti meno recenti
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 Commenti
Fabio
il 25 Ott 2013
I have the same problem here!!!
Yimeng Zhang
il 28 Ott 2013
Can anybody provide a solution for R2013a? Thanks.
Risposta accettata
Più risposte (3)
xinhao liu
il 25 Ott 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 Commenti
Rasim Dilan
il 28 Ott 2013
Thank you. This works well for me.
huijing
il 9 Nov 2013
tried out so many solutions, finally this works for me, thank you very much
Xu Tian
il 15 Nov 2013
0 voti
WOW!!! Thanks a lot! That does work for me!
Chris
il 14 Ott 2014
0 voti
Does this work around work for C-code as well?
Categorie
Scopri di più su Introduction to Installation and Licensing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!