我一直在尝试编译我从github (qgroundcontrol)上得到的一些源代码,但我经常遇到错误,而且我在修复它时遇到了困难。
我总是遇到同样的重复出现的问题;
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生成时将警告视为错误

发布于 2020-03-23 17:27:57
有时,一行中有不可见的Unicode字符。如果它发生在一行中,请将整个行切掉并重新键入-不要复制/粘贴,因为这样会再次输入陌生的字符。如果你有一个合适的编辑器,例如BBEDit,你可以搜索/替换这些字符。
https://stackoverflow.com/questions/60807650
复制相似问题