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!