Hello,
I assume you have MinGW installed by yourself. Then the best thing would be to:
1) Settings-->Compiler and debugger-->Programs tab-->GNU GCC Compiler
2) Under Compiler's installation directory, you put the directory where MinGW is installed, e.g., C:\MinGW.
Alternatively you can try with the Auto-detect button and see if it works.
If you do not have MinGW installed by yourself (not the one that come with RC2), I would advice to download it (installer MinGW 5.0.2) and install it (the candidate release). Then you try Auto-detect or you manually select the MinGW home directory.
If you have problems, just post them here
.
Best wishes,
Michael