Problem with mex at 208
Afficher commentaires plus anciens
Hello,
When I am trying to choose complier with command:
mex -setup
I've got following report:
??? Error using ==> mex at 208 Unable to complete successfully.
Caused by: Error using ==> cd Cannot CD to C:\Users\przemek\AppData\Local\Temp;C:\MinGW\bin (Directory access failure).
I am not able to find solution of this problem. Win vista 32-bit
Przemyslaw
Réponses (2)
Kaustubha Govind
le 13 Avr 2011
My guess is that your TEMP environment variable is corrupted. What do you see when you try this at the MATLAB prompt:
>> !echo %TEMP%
Now try "echo %TEMP%" at the system prompt. (they should match)
If the value returned is "C:\Users\przemek\AppData\Local\Temp;C:\MinGW\bin", you need to remove everything after "C:\Users\przemek\AppData\Local\Temp".
2 commentaires
abukaf
le 20 Juil 2013
but when i m using linux(ubuntu 11.04). 32-bit........
how i resolve the same
i get d following error
mex resize.cc
Warning: You are using gcc version "4.5.2-8ubuntu4)". The version currently supported with MEX is "4.3.4". For a list of currently supported compilers see: http://www.mathworks.com/support/compilers/current_release/
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/cc1plus: /usr/local/MATLAB/R2011a/sys/os/glnx86/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/libppl_c.so.2) /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/cc1plus: /usr/local/MATLAB/R2011a/sys/os/glnx86/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libppl_c.so.2) /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/cc1plus: /usr/local/MATLAB/R2011a/sys/os/glnx86/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/libppl.so.7) /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/cc1plus: /usr/local/MATLAB/R2011a/sys/os/glnx86/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libppl.so.7) /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/cc1plus: /usr/local/MATLAB/R2011a/sys/os/glnx86/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libgmpxx.so.4)
mex: compile of ' "resize.cc"' failed.
??? Error using ==> mex at 208 Unable to complete successfully.
Jan
le 20 Juil 2013
@abukaf: Please do not post a new question as a comment to an answer of another question. You have created a new question already, so please remove this duplicate message here.
Przemyslaw
le 14 Avr 2011
0 votes
Catégories
En savoir plus sur Write C Functions Callable from MATLAB (MEX Files) dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!