Mex on Mavericks with R2012b
Mostrar comentarios más antiguos
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 comentarios
Fabio
el 25 de Oct. de 2013
I have the same problem here!!!
Yimeng Zhang
el 28 de Oct. de 2013
Can anybody provide a solution for R2013a? Thanks.
Respuesta aceptada
Más respuestas (3)
xinhao liu
el 25 de Oct. de 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 comentarios
Rasim Dilan
el 28 de Oct. de 2013
Thank you. This works well for me.
huijing
el 9 de Nov. de 2013
tried out so many solutions, finally this works for me, thank you very much
Xu Tian
el 15 de Nov. de 2013
0 votos
WOW!!! Thanks a lot! That does work for me!
Chris
el 14 de Oct. de 2014
0 votos
Does this work around work for C-code as well?
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!