Where is located your mingw ?
it must be installed at the root. C:\MinGW

Did your try to compile with the default parameters ?