No, it is not about this.
just selecting MCU type, even with empty code window, and hitting compile, gives that error.