Offline installer for mingw-w64

297 views (last 30 days)
Nathan Larsen
Nathan Larsen on 27 Feb 2019
Commented: Darshna Parmar on 24 Jul 2023
I'm trying to find an offline installer for MinGW-w64. I have downloaded mingw-w64-v6.0.0.zip from sourceforge, but it did not contain an installer. I am running Matlab 2018b on a standalone computer.

Answers (1)

Amin Ramezanifar
Amin Ramezanifar on 1 Mar 2021
Edited: Amin Ramezanifar on 2 Mar 2021
There is a nice guide in this link:
In case the link was broken:
1- Go to sourceforge website and find the page for the mingw-w66 project at:
2- Select files
3- Find MinGW-W64 GCC-8.1.0 section
4- Download the x86_64-posix-seh file
5- Unzip the downloaded file with 7zip. It has a name like x86_64-8.1.0-release-posix-seh-rt_v6-rev0 and it has a subfolder named mingw64
8- The unzipped package is ready to use. Put it somewhere like: C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64
9- Add the path to C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin to the Windows PATH environment variable
10- To test, open a command prompt and type: g++ --version
  1 Comment
Darshna Parmar
Darshna Parmar on 24 Jul 2023
Hi,
I followed each steps and it's looks like I installed it correctly, but still it shows error that no compiler found when I enter mex -setup.
Can you please guide me?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!