(preface: uninstall your currenct gcc compiler)
1. follow and install this link https://msys2.github.io/
pacman -S mingw-w64-x86_64-gsl
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-gcc
pacman -S mingw-w64-x86_64-sfml
pacman -S mingw-w64-x86_64-make
environment
and open the environment variables app. from there press, "environment variables" button at bottom right then alter the "PATH" variable (double click it)
C:\msys64\mingw64\bin





