Compile Error conundrum

You already found it.

If you reinstall Arduino completely, you have to remove the user settings as well.
In that case, the preferences would be newly written at the first start of Arduino.