I have this problem: Applications/MATLAB_R2012a.app/bin/mex: line 305: llvm-gcc-4.2
1 view (last 30 days)
Show older comments
Somebody can help me. I have installed matlab2012a and xcode 4.5.2 (4G2008a) in a macbook with mountain lion OS X 10.8.2. When I run the simulink program appears this lines:
/Applications/MATLAB_R2012a.app/bin/mex: line 305: llvm-gcc-4.2: command not found /Applications/MATLAB_R2012a.app/bin/mex: line 1326: llvm-gcc-4.2: command not found
mex: compile of ' "Caso_Escalar_sfun.c"' failed.
gmake: * [Caso_Escalar_sfun.o] Error 1
Thank you!
Answers (1)
Ken Atwell
on 27 Nov 2012
First, make sure you have installed the latest version of the patch (from the error you're getting, you may already have it installed:
Second, make sure the command-line tools are installed as described in step 3 of the above solution.
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!