| Problem | Solution | | :--- | :--- | | 'gcc' is not recognized | PATH not set correctly. Re-add C:\msys64\ucrt64\bin and restart terminal. | | msys-2.0.dll not found | Run the compiled .exe from inside MSYS2 terminal, or add C:\msys64\usr\bin to PATH. | | Antivirus flags compiler | Add C:\msys64 as an exclusion in Windows Defender. |
| Problem | Solution | | :--- | :--- | | 'gcc' is not recognized | PATH not set correctly. Re-add C:\msys64\ucrt64\bin and restart terminal. | | msys-2.0.dll not found | Run the compiled .exe from inside MSYS2 terminal, or add C:\msys64\usr\bin to PATH. | | Antivirus flags compiler | Add C:\msys64 as an exclusion in Windows Defender. |