Install MinGW with the installer from the Project Page

Installation

Download

From the project page

  • From the MinGW w64 project page
  • Go to Download on the right side
  • Scroll-down until you see Mingw-builds project - native toolchains using trunk
  • There is a column called Installation
  • Click on the SourceForge link and wait for your download

Note

This last step should give you an installer : mingw-w64-install.exe.

Install

  • Launch the installer
  • When the Settings window appears follow this setup
Version Choose the latest
Architecture x64
Threads posix
Exception seh
Build revision choose the latest

Post Installation

Add MinGW bin folder to the environment variables

<YourDrive>:\Path\To\MinGW\bin

Note

You can install multiple version of MinGW and specify explicitly later to Sublime Text the path of the compiler you want to use.

Tip

If you encouter issues with the installer install MinGW manually