I have this problem: Applications/MATLAB_R2012a.app/bin/mex: line 305: llvm-gcc-4.2
Afficher commentaires plus anciens
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!
1 commentaire
Walter Roberson
le 22 Nov 2012
Have you used
mex -setup
Réponses (1)
Ken Atwell
le 27 Nov 2012
0 votes
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.
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!