fialed to install MinGW compiler

2 views (last 30 days)
Yu Li
Yu Li on 11 Feb 2018
Edited: Walter Roberson on 12 Feb 2018
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 Comments
Walter Roberson
Walter Roberson on 12 Feb 2018
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 on 12 Feb 2018
Edited: Walter Roberson on 12 Feb 2018
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

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!