fialed to install MinGW compiler

조회 수: 2 (최근 30일)
Yu Li
Yu Li 2018년 2월 11일
편집: Walter Roberson 2018년 2월 12일
Hi:
I failed to install the C/C++ compiler in Matlab. below are my steps:
in Matlab window, use Add-Ons, search the MinGW, I followed all the steps in the web and it showed installed successfully.
however, when I type the 'mex -setup' in Matlab window, it showed:
Error using mex No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install MinGW-w64 Compiler. For more options, visit http://www.mathworks.com/support/compilers/current_release/.
I tried to set the environment variable, but I even could not find where it was installed.
I also tried to download the file and installed by myself, but it failed too.
could anyone help me solve this problem?
Thanks!
Li
  댓글 수: 6
Walter Roberson
Walter Roberson 2018년 2월 12일
What shows up in the directories
D:\Program Files\MATLAB\R2017a\toolbox\target\extensions\processor\intelhost\tfl
D:\Program Files\MATLAB\R2017a\toolbox\target\extensions\processor\intelhost\tfl\gcc
Yu Li
Yu Li 2018년 2월 12일
편집: Walter Roberson 2018년 2월 12일
Hi: in the first directory:
+IntelHostTFL intel_sse_tfl_table.m
. intel_sse_tfl_table.mat
.. make_intel_ipp_tfl_table.m
addconvcorr1dentry.m mw_sse.c
addfir2dentry.m mw_sse.h
intel_ipp_tfl_table_glnxa_64.mat rtwTargetInfo.m
intel_ipp_tfl_table_win_32.mat rtwTargetInfo.p
intel_ipp_tfl_table_win_64.mat
intel_ipp_tfl_table_win_64_mingw.mat
the second does not exist.
Thanks!
Li

댓글을 달려면 로그인하십시오.

답변 (0개)

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by