Problem with mex at 208
이전 댓글 표시
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
답변 (2개)
Kaustubha Govind
2011년 4월 13일
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
abukaf
2013년 7월 20일
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
2013년 7월 20일
@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.
카테고리
도움말 센터 및 File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!