Okay, I found the answer to this issue, on Reddit...
I needed to add the -municode linker option, then it built successfully.
Mind you, my console output routines don't work at all, in UNICODE mode... but that's a separate discussion...