The latest online installer (mingw-w64-install.exe from SourceForge) fails with 'Error res' message in the middle of installation. About several students out of 50 in my class were not able to install it. They had to use MinGW instead. All our efforts such as uninstalling, rebooting, cleaning up env variables and/or installing it in a new folder did not resolve the problem.
I know that the exact same problem was reported a few years back and fixed at that time. I am afraid that the same bug sneaked in the recent installation script.
By the way, a couple of my students reinstalled windows10 and then were able to install mingw-w64 successfully.
Is there a way to get around installing mingw-w64 without using mingw-w64-install.exe?
It is essential that the installation path does not contain any spaces. Therefore, you cannot install MinGW-w64 in Program Files. We recommend to create a folder mingw-w64 on your system drive (e.g., C:\mingw). Install a current version and specify win32 as thread when requested.
Are you on your home network, or at the office? You are being blocked from downloading the setup files. Either it's a firewall issue, a network issue, or something on your computer.
Is there a way to get around installing mingw-w64 without using mingw-w64-install.exe?
The individual archives that form the MinGW-w64 installation can be downloaded and unpacked manually. The "installer" does only a little on top of this. Just pick an archive at this page:
https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64
However, a very practical alternative approach is to install MinGW-w64 as part of MSYS2, which is very similar to Cygwin, but has some advantages:
pacman
)For details see this answer.
I faced the same problem like you. But After I stop my all downloads on IDM and again tried to install MinGW-64 then it installed nicely.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With