First make sure you have MinGW installed. From MinGW installation manager check if you have the mingw32-make package installed. Check if you have added the MinGW bin folder to your PATH. type PATH in your command line and look for the folder.