# \[UE5.0\] C++ Build failed. Unresolved externals

**URL:** <https://forums.unrealengine.com/t/ue5-0-c-build-failed-unresolved-externals/541577>\
**Category:** Platform & Builds\
**Tags:** Builds, unreal-engine, UE5-0, question\
**Created:** [April 28, 2022, 2:31am UTC](https://forums.unrealengine.com/t/ue5-0-c-build-failed-unresolved-externals/541577 "2022-04-28T02:31:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlienRenders](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlienRenders](https://forums.unrealengine.com/u/AlienRenders)\
**Post date:** [April 28, 2022, 2:31am UTC](https://forums.unrealengine.com/t/ue5-0-c-build-failed-unresolved-externals/541577/1 "2022-04-28T02:31:36Z")

</div>

I’m trying to build UE 5.0 and I’m getting unresolved externals. I have no idea why this is happening.

1\>[1/3] Link UnrealEditor-ParametricSurface.dll  
1\> Creating library …\Plugins\Enterprise\DatasmithCADImporter\Intermediate\Build\Win64\UnrealEditor\Development\ParametricSurface\UnrealEditor-ParametricSurface.suppressed.lib and object …\Plugins\Enterprise\DatasmithCADImporter\Intermediate\Build\Win64\UnrealEditor\Development\ParametricSurface\UnrealEditor-ParametricSurface.suppressed.exp  
1\>Module.ParametricSurface.cpp.obj : error LNK2019: unresolved external symbol “\_\_declspec(dllimport) void \_\_cdecl CADLibrary::TechSoftUtils::RestoreMaterials(class TSharedPtr\<class FJsonObject,1\> const &,class CADLibrary::FBodyMesh &)” (\__imp_?RestoreMaterials@TechSoftUtils@CADLibrary@@YAXAEBV?$TSharedPtr@VFJsonObject@@$00@@AEAVFBodyMesh@2@@Z) referenced in function “public: virtual bool \_\_cdecl FCADModelToTechSoftConverterBase::Tessellate(struct CADLibrary::FMeshParameters const &,struct FMeshDescription &)” (?Tessellate@FCADModelToTechSoftConverterBase@@UEAA\_NAEBUFMeshParameters@CADLibrary@@AEAUFMeshDescription@@@Z)  
1\>…\Plugins\Enterprise\DatasmithCADImporter\Binaries\Win64\UnrealEditor-ParametricSurface.dll : fatal error LNK1120: 1 unresolved externals

---

<div class="post-metadata">

**Author:** ![AlienRenders](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlienRenders](https://forums.unrealengine.com/u/AlienRenders)\
**Post date:** [April 30, 2022, 6:35pm UTC](https://forums.unrealengine.com/t/ue5-0-c-build-failed-unresolved-externals/541577/2 "2022-04-30T18:35:09Z")

</div>

Is no one else getting this? How is anyone building the 5.0 branch?

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [April 30, 2022, 7:02pm UTC](https://forums.unrealengine.com/t/ue5-0-c-build-failed-unresolved-externals/541577/3 "2022-04-30T19:02:13Z")

</div>

Hi @AlienRenders,  
I suggest you try my documented build for Visual Studio 2022, This still works for 2019. VS 2022 is much faster

[Visual Studio 2022 builds and runs UE5.0](https://forums.unrealengine.com/t/visual-studio-2022-builds-and-runs-ue5-0/255060)

---

<div class="post-metadata">

**Author:** ![AlienRenders](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlienRenders](https://forums.unrealengine.com/u/AlienRenders)\
**Post date:** [April 30, 2022, 8:12pm UTC](https://forums.unrealengine.com/t/ue5-0-c-build-failed-unresolved-externals/541577/4 "2022-04-30T20:12:37Z")

</div>

Your set of instructions didn’t work. But the 5.0 branch was just updated and it now builds.

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [May 1, 2022, 9:10am UTC](https://forums.unrealengine.com/t/ue5-0-c-build-failed-unresolved-externals/541577/5 "2022-05-01T09:10:08Z")

</div>

Hi @AlienRenders , Please what happened, do you know why it did not work, so I can fix it thanks
