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

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

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

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

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

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