How do I install correctly the MinGW-w64 compiler for Windows ?

1 view (last 30 days)
Whenever I try to install the MinGW-w64 compiler for Windows, I get the following message : "There was a problem installing the third-party software" . How do I solve this?

Accepted Answer

Shashank
Shashank on 20 Feb 2017
Hi Robin,
You can refer to this MATLAB Answers link for more information on why this occurs:
You can also try the following workaround:
1. Download the 5 files from the Sourceforge links below.
2. Copy all the files to the following location:
For R2015b and R2016a the location is:
"C:\MATLAB\SupportPackages\R20(15b/16a)\downloads\MinGW_download"
For 16b onwards the location is:
“C:\Users\<username>\Downloads\MathWorks\SupportPackages\R2016b\archives\3p\<name_of_archive>\”
Where name_of_archive could be one of the following and where xxxxxxxxxx is a string containing numbers:
• tdm_MinGW64runtime.instrset_win64_xxxxxxxxxx
• tdm_MinGWbinutils.instrset_win64_xxxxxxxxxx
• tdm_MinGWcpp.instrset_win64_xxxxxxxxxx
• tdm_MinGWdebugger.instrset_win64_xxxxxxxxxx
• tdm_MinGWgcc.instrset_win64_xxxxxxxxxx
3. Once this is done try reinstalling the Add-On again.
Regards,
Shashank

More Answers (0)

Community Treasure Hunt

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

Start Hunting!