mingw-w64 installer "the file has been downloaded incorrectly"

Crook picture Crook · Sep 27, 2017 · Viewed 18.1k times · Source

I am trying to install mingw-w64 onto Windows. However I receive an error, "the file has been downloaded incorrectly". Redownloading the setup file again from sourceforge does not fix the problem. Is there an alternative way to install it or am I doing something wrong?

Answer

demiton picture demiton · Jan 30, 2018

Old post but same problem, the installer doesn't seem to work.

I give the solution which works for me

You can directly download the archive of MinGW64 with your chosen configuration :

https://sourceforge.net/projects/mingw-w64/files/mingw-w64/

Once the compressed file downloaded, you have just to extract and copy/paste the MinGW64 folder( with the pre-compiled librairies) to your chosen folder ( in my case : C:\mingw64)