What does 'Mex file (mexw64) cannot find required compilers' mean?
이전 댓글 표시
Using Matlab 2016b, Windows 10 system. Upon running mex -setup -v, the output is:
Verbose mode is on. ... Looking for compiler 'Intel C++ Composer XE 2013 with Microsoft SDK 7.1 (C)' ... ... Looking for environment variable 'ICPP_COMPILER14' ...No. ... Looking for environment variable 'ICPP_COMPILER13' ...No. Did not find installed compiler 'Intel C++ Composer XE 2013 with Microsoft SDK 7.1 (C)'. ... Looking for compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2012 (C)' ... ... Looking for environment variable 'ICPP_COMPILER14' ...No. ... Looking for environment variable 'ICPP_COMPILER13' ...No. Did not find installed compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2012 (C)'. ... Looking for compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2013 (C)' ... ... Looking for environment variable 'ICPP_COMPILER14' ...No. ... Looking for environment variable 'ICPP_COMPILER13' ...No. Did not find installed compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2013 (C)'. ... Looking for compiler 'Intel Parallel Studio XE 2015 with Microsoft SDK 7.1 (C)' ... ... Looking for environment variable 'ICPP_COMPILER15' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2015 with Microsoft SDK 7.1 (C)'. ... Looking for compiler 'Intel Parallel Studio XE 2015 with Microsoft Visual Studio 2012 (C)' ... ... Looking for environment variable 'ICPP_COMPILER15' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2015 with Microsoft Visual Studio 2012 (C)'. ... Looking for compiler 'Intel Parallel Studio XE 2015 with Microsoft Visual Studio 2013 (C)' ... ... Looking for environment variable 'ICPP_COMPILER15' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2015 with Microsoft Visual Studio 2013 (C)'. ... Looking for compiler 'Intel Parallel Studio XE 2015 with Microsoft Visual Studio 2015 (C)' ... ... Looking for environment variable 'ICPP_COMPILER15' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2015 with Microsoft Visual Studio 2015 (C)'. ... Looking for compiler 'Intel Parallel Studio XE 2016 with Microsoft SDK 7.1 (C)' ... ... Looking for environment variable 'ICPP_COMPILER16' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2016 with Microsoft SDK 7.1 (C)'. ... Looking for compiler 'Intel Parallel Studio XE 2016 with Microsoft Visual Studio 2012 (C)' ... ... Looking for environment variable 'ICPP_COMPILER16' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2016 with Microsoft Visual Studio 2012 (C)'. ... Looking for compiler 'Intel Parallel Studio XE 2016 with Microsoft Visual Studio 2013 (C)' ... ... Looking for environment variable 'ICPP_COMPILER16' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2016 with Microsoft Visual Studio 2013 (C)'. ... Looking for compiler 'Intel Parallel Studio XE 2016 with Microsoft Visual Studio 2015 (C)' ... ... Looking for environment variable 'ICPP_COMPILER16' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2016 with Microsoft Visual Studio 2015 (C)'. ... Looking for compiler 'MinGW64 Compiler (C)' ... ... Looking for environment variable 'MW_MINGW64_LOC' ...Yes (''C:\TDM-GCC-64''). ... Looking for file ''C:\TDM-GCC-64'\bin\gcc.exe' ...No. Did not find installed compiler 'MinGW64 Compiler (C)'. ... Looking for compiler 'Microsoft Visual C++ 2012 (C)' ... ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 11.0 ...No. ... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 11.0 ...No. ... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 11.0 ...No. ... Looking for registry setting 'HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 11.0 ...No. Did not find installed compiler 'Microsoft Visual C++ 2012 (C)'. ... Looking for compiler 'Microsoft Visual C++ 2013 Professional (C)' ... ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No. ... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No. ... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No. ... Looking for registry setting 'HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No. Did not find installed compiler 'Microsoft Visual C++ 2013 Professional (C)'. ... Looking for compiler 'Microsoft Visual C++ 2015 Professional (C)' ... ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No. ... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No. ... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 14.0 ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio 14.0\'). ... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe' ...No. Did not find installed compiler 'Microsoft Visual C++ 2015 Professional (C)'. ... Looking for compiler 'Microsoft Windows SDK 7.1 (C)' ... ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1' InstallationFolder ...Yes ('C:\Program Files\Microsoft SDKs\Windows\v7.1\'). ... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VC7' 10.0 ...Yes ('c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\'). ... Looking for file 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\cl.exe' ...Yes. ... Looking for folder 'c:\Program Files (x86)\Microsoft Visual Studio 10.0' ...Yes. Found installed compiler 'Microsoft Windows SDK 7.1 (C)'. ... Looking for compiler 'Microsoft Windows SDK 7.1 (C)' ... ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1' InstallationFolder ...Yes ('C:\Program Files\Microsoft SDKs\Windows\v7.1\'). ... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VC7' 10.0 ...Yes ('c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\'). ... Looking for file 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\cl.exe' ...Yes. ... Looking for folder 'c:\Program Files (x86)\Microsoft Visual Studio 10.0' ...Yes. Found installed compiler 'Microsoft Windows SDK 7.1 (C)'. MEX configured to use 'Microsoft Windows SDK 7.1 (C)' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API.
To choose a different language, select one from the following: mex -setup C++ mex -setup FORTRAN
답변 (1개)
Bruno Luong
2018년 10월 13일
0 개 추천
It means you need a C-compiler installed on your computer
댓글 수: 5
Tharangini Sankarnarayanan
2018년 10월 13일
Bruno Luong
2018년 10월 13일
편집: Bruno Luong
2018년 10월 13일
Tharangini Sankarnarayanan
2018년 10월 14일
Bruno Luong
2018년 10월 14일
편집: Bruno Luong
2018년 10월 14일
That the list of all supported compiler, you only need one of any of those.
Tharangini Sankarnarayanan
2018년 10월 14일
카테고리
도움말 센터 및 File Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!