I had this error in Eclipse caused by it interpreting a path with backslashes in a code comment as "bad unicode" (as well as generating 100 or so other undefined reference errors)