Factsheet
Videos
MinGW-w64 - for 32 and 64 bit Windows installer not available
MinGW-w64 - for download on 32-bit and 64-bit Windows | SourceForge.net
windows - How to install MinGW64 (non of the approaches work) - Stack Overflow
How to install MinGW-w64
Hi,
Is anyone else experiencing problems to download the above from sourceforge: https://sourceforge.net/projects/mingw-w64/.
The documents I follow all state that the downloaded file should be an exe but in this case I download a zip with source documents.
Under Files I found the installer (mingw-w64-install.exe) but after it starts it return an error that requirments.txt cannot be downloaded.
Is this compiler download safe or not, if not, which download link for MinGW W64 for 32bit would be safe? https://sourceforge.net/projects/mingw-w64/
The following approach did work for me. I got there via the link in https://stackoverflow.com/a/39113943/4533188
- Got to https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/
- Click on the newest version (e.g. 8.1.0)
- Click on x86_64-posix-sjlj
- Download the 7z-Archive
Alternative way of clicking around:
- Got to https://sourceforge.net/projects/mingw-w64/
- Click on files
- Click on x86_64-posix-sjlj of the version you want
- Download the 7z-Archive
Then:
- Unzip the archive
- Inside it there is the folder
mingw64- move it (and its contents) intoC:\MinGW64 - The gcc can be found at
C:\MinGW64\mingw64\bin\gcc.exe
Regarding your approaches:
- Approach 1 - the win-builds site is out of date and should not be used now.
- Approach 2 - you downloaded source code, only do this if you are set up to build from source.
- Approach 3 - it sounds like you installed it correctly and it is unclear why you feel it is not installed. NOTE - this approach goes more smoothly if you choose the option "MinGW-W64-install.exe" instead of unpacking a zip file; this will also install batch files to the start menu which set up the environment for Windows Command Prompt .
- Approach 4 - again it sounds like you installed it correctly but have a faulty expectation about the install path. MSYS2 packages will go underneath the MSYS2 root directory. And it is not clear where you typed "gcc.exe" (you should just type
gccfrom the MSYS2 mingw-w64 shell, which will be accessible from start menu and desktop shortcut if you chose that during the MSYS2 install), and you probably do not want to skip step 7 (CMake relies on gmake; you could install cmake in addition to make).
For approach 4, this list of steps is slightly better than the list you linked
