Build cesium for unreal with vs2019 16.5 failed


Please Help Me.

Hello @leng2490,

What version of Cesium for Unreal are you using?

The error C2220 simply means “Warning treated as error - no object file generated” (due to the /WX flag being set).

The warning that causes this error is C4819, which says

The file contains a character that cannot be represented in the current code page ( number ). Save the file in Unicode format to prevent data loss.

(And that seems to match the message that is printed in the console, as far as I can match the output with that of translating this text into Chinese with Google Translate…)

It refers to Property.h(1,1), and thus, certainly does not point out where the problematic character appears - but let’s assume that it at least really refers to this file, and just wants to tell us that there is a problematic character somewhere in the file. And… if I had to take a guess, I’d say that it does not like the in comments like “MATN is an N ⨉ N matrix”. If this is the culprit, it could probably be changed to be an x

.(We all � Unicode, right?)