mex -setup does not see a C++ compiler
이전 댓글 표시
Hello, I am having trouble getting mex -setup to recognize any of the C++ compilers I have installed (Microsoft Visual C++ Express, Intel Studio 2011).
>> mex -setup Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[0] None
What do I need to do to remedy this issue? I am using Matlab R2009a, so I am not sure the "patches" I have read about will fix my problem. Perhaps it is something more basic? Any suggestions/advice you might provide would be greatly appreciated!
답변 (4개)
Ken Atwell
2012년 7월 5일
1 개 추천
You are using R2009a, so consult its pages for compilers that were supported at the time of its release:
Visual C++ 2005 SP1 was the supported Microsoft tool chain for use with Intel C++/Fortran version 9.1 or 10.1. It sounds like the Intel and Microsoft you are trying to use all post-date the release of 2009a, sorry.
Albert Yam
2012년 7월 5일
0 개 추천
If you know the path to the compiler, you can say [no] to locate installed compilers and manually give the path.
Ryan G
2012년 7월 5일
0 개 추천
Although it is fully possible you may be ok with that compiler in what you are doing in MATLAB, you may run into issues down the road.
Nicole West
2012년 7월 5일
카테고리
도움말 센터 및 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!