Using UE5.4, Cesium-for-Unreal, and referencing the Cesium3DTileset.h header file in C++ resulted in failed packaging and compilation. The error message was: “CesiumRuntime\Public\Cesium3DTileset.h(67): error C2143: Syntax error: missing “;” (before “”)”
Hi @ZhuangF0112, welcome to the community!
I’m not sure what could be going wrong from a glance. Can you share more information with us so we can troubleshoot this issue?
- What version of Cesium for Unreal are you using?
- How did you install Cesium for Unreal? Did you download it from the Fab Marketplace, or from Github?
- Do you see the same issue if you try to package the Cesium for Unreal Samples project?
Thank you in advance!
,Using UE5.4,Visual Studio 2022。Download from Github,“Version”: 75,and “VersionName”: “2.16.0”,。Referenced the Cesium3DTileset.h header file in some .h file and then the package attempt failed
Thanks for the details @ZhuangF0112. Indeed, v2.16.0 caused some packaging errors, but they were fixed in v2.16.1. Could you try packaging on that version (or a later one) of Cesium for Unreal?
OK, I’ll try using a higher version.