CesiumGS / cesium-unreal

Bringing the 3D geospatial ecosystem to Unreal Engine
https://cesium.com/platform/cesium-for-unreal/
Apache License 2.0
921 stars 295 forks source link

CesiumEllipsoidFunctions is not usable from outside the CesiumRuntime module #1466

Open kring opened 3 months ago

kring commented 3 months ago

At least on Windows.

Because it's not defined with CESIUMRUNTIME_API.

Yahaha3 commented 3 months ago

when I update to 2.7.0, it prompt me that CesiumGlobeAnchorComponent.h 185 "UCesiumEllipsoid* GetEllipsoid() const;" have some error. CesiumEllipsoid seems like a new function in 2.7.0. and I try to add CESIUMRUNTIME_API in CesiumEllipsoidFunction. Ehh.. No work. hope to give some advices. Thanks..

kring commented 2 months ago

Adding CESIUMRUNTIME_API will probably only help if the plugin is in your project's Plugins directory. Engine plugins won't be recompiled when the header changes.