# Compile link error

**URL:** <https://community.cesium.com/t/compile-link-error/44176>\
**Category:** Cesium for Unreal\
**Created:** [November 17, 2025, 11:05am UTC](https://community.cesium.com/t/compile-link-error/44176 "2025-11-17T11:05:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![winnonatural](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/winnonatural/32/32132_2.png) [@winnonatural](https://community.cesium.com/u/winnonatural)\
**Post date:** [November 17, 2025, 11:05am UTC](https://community.cesium.com/t/compile-link-error/44176/1 "2025-11-17T11:05:50Z")

</div>

![image](https://global.discourse-cdn.com/cesium/original/3X/a/1/a108012ad73fc8eef793909289506412d1598e2d.png)

---

<div class="post-metadata">

**Author:** ![Cloud](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@Cloud](https://community.cesium.com/u/Cloud)\
**Post date:** [November 21, 2025, 11:01am UTC](https://community.cesium.com/t/compile-link-error/44176/2 "2025-11-21T11:01:06Z")

</div>

I encountered the same issue. I’m using the latest Cesium for Unreal v2.21.0, compiled from source, and I also followed the instructions in [developer-setup-windows-gotchas.md](https://github.com/CesiumGS/cesium-unreal/blob/main/Documentation/developer-setup-windows-gotchas.md)

---

<div class="post-metadata">

**Author:** ![azrogers](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/azrogers/32/21672_2.png) [@azrogers](https://community.cesium.com/u/azrogers)\
**Post date:** [November 21, 2025, 3:08pm UTC](https://community.cesium.com/t/compile-link-error/44176/3 "2025-11-21T15:08:25Z")

</div>

@winnonatural @Cloud These errors indicate a mismatch between the compiler version being used for Unreal and the compiler version being used to build Cesium Native (or to build Cesium Native’s vcpkg dependencies). Following the steps in that gotchas guide to force all three to use the same compiler version should help, but you might have cached binaries still using the wrong compiler version. You can try:

- Deleting your `build` directory in the `CesiumForUnreal/extern` folder (or whatever directory you told CMake to use).
- Deleting the `.ezvcpkg` folder. The location of this is listed in the CMake configure log, and for Windows should be in the root of your hard drive (for example, `C:/.ezvcpkg`)
- Deleting the vcpkg `archives` folder (should be in `%LocalAppData%/archives`)
- Deleting the `Intermediate/Build/Win64` folder in both the Unreal project folder and the Cesium for Unreal plugin folder.

You probably won’t need to perform all of these steps to get them working, but I would expect at least the first two to help. If you delete those folders and run through the steps to build Cesium Native again - making sure to specify `-T "version=…"` and `VCPKG_PLATFORM_TOOLSET_VERSION` that match the compiler Unreal tells you it’s using in the build log (in this case 14.38) - it should resolve these errors.
