I have been trying to compile some source codes that i got off github (qgroundcontrol) but am having constant errors and i am having difficulties fixing it..
I always get these same recurring problems;
error: C2220: warning treated as error - no 'object' file generated
warning: C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss
warning treated as error when building
Occasionally, you have invisible Unicode characters in a line. If it happens in a single line, cut out the complete line and type it again - do not copy/paste as invariably you will get the strange character in again. If you have a suitable editor, e.g. BBEDit, you could search / replace these characters.