Error in Installing MinGW-w64 C/C++ Compiler

To install the MinGW-w64 C/C++ Compiler on Windows 10 with MATLAB R2016b, I used the Add-Ons menu. However, I got the following error message:
"There was a problem installing the third-party software. To resolve this issue, contact Technical Support"
Then, when I run "mex -setup", I got the following error:
mex -setup
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.
Could you please help me to solve this problem?

3 件のコメント

Wonsang You
Wonsang You 2017 年 1 月 14 日
I had an alternative solution according to Samuel Whiteley 's suggestion.
1. Download the compiler from a third party (e.g. from this link ) Follow instructions normally to install it onto the C:\ drive.
2. Manually Configure MinGW for MATLAB ( from this link )
amal abbbes
amal abbbes 2018 年 6 月 6 日
thanks Wonsang You but how can i Configure MinGW manually
EREN ÇAKMAK
EREN ÇAKMAK 2020 年 12 月 13 日
Many thanks Wonsang You!

サインインしてコメントする。

回答 (1 件)

Luke
Luke 2017 年 4 月 13 日

0 投票

Thanks for this. Works well.

製品

質問済み:

2017 年 1 月 14 日

コメント済み:

2020 年 12 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by