Installing the MinGW Dependency
- Download the latest MinGW installation package from https://sourceforge.net/projects/mingw-w64/files/. Select a version based on the OS. For example, select x86_64-posix-seh for a 64-bit OS.
- Decompress the MinGW installation package to a custom directory.
- In the Windows 10 OS, choose Control Panel > System and Security > System > Advanced system settings.
- In the System Properties dialog box displayed, click Environment Variables. See Figure 1.
- In the Environment Variables > System variables dialog box, select the Path variable and click Edit. See Figure 2.
- In the Edit environment variable dialog box, click New, enter the path of the bin directory generated after the MinGW installation package is decompressed, for example, D:\mingw64\bin, and click OK. See Figure 3.
- Open the CLI and enter the gcc -v command.
If message "gcc version x.x.x (x86_64-win32-seh-rev0, Built by MinGW-W64 project)" is displayed, the installation is successful.
Parent topic: Dependency Installation


