I wish the IDE would just check the environment, something like ./configure does, to make sure you have MingW (and any other required third party tool) installed correctly and the correct version.
If that is actually possible, it should have been implemented from the start!!!