Well, it's working.
The path to my Windows profile has a space in it. I created a local account without a space, and my empty program compiled with no issues. Don't know if that's the reason. Very strange.
Makes me want to reinstall Ubuntu, or something.
Thanks for the replies, Terry.