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!