Mex on Mavericks with R2012b
显示 更早的评论
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 个评论
Fabio
2013-10-25
I have the same problem here!!!
Yimeng Zhang
2013-10-28
Can anybody provide a solution for R2013a? Thanks.
采纳的回答
更多回答(3 个)
xinhao liu
2013-10-25
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 个评论
Rasim Dilan
2013-10-28
Thank you. This works well for me.
huijing
2013-11-9
tried out so many solutions, finally this works for me, thank you very much
Xu Tian
2013-11-15
0 个投票
WOW!!! Thanks a lot! That does work for me!
Chris
2014-10-14
0 个投票
Does this work around work for C-code as well?
类别
在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!