Control Panel>Sysytem>Advanced Tab>Environment Variables
Under System Variables click New.
Variable Name = MINGW
Variable Value = C:\mingw\
For those that haven't done this yet.
Under System Variables click New.
Variable Name = MINGW
Variable Value = C:\mingw\
For those that haven't done this yet.