How to use engine runtime API?

hi,guys,I want to use the engine runtime‘s API, but the compilation fails after using it. I don’t know why that’s happening.
Here’s my compilation information img.

information:

File Building patch from 4 file(s) for Live coding module D:\workspace\UnrealProjects\TestProject\Binaries\Win64\UnrealEditor-TestProject.dll
??? D:\workspace\UnrealProjects\TestProject\Binaries\Win64\UnrealEditor-TestProject.patch_0.lib ??? D:\workspace\UnrealProjects\TestProject\Binaries\Win64\UnrealEditor-TestProject.patch_0.exp
VoronoiMesh.cpp.obj : error LNK2019: ??? “__declspec(dllimport) public: __cdecl FVoronoiDiagram::~FVoronoiDiagram(void)” (_imp??1FVoronoiDiagram@@QEAA@XZ),?? “protected: virtual void __cdecl AVoronoiMesh::BeginPlay(void)” (?BeginPlay@AVoronoiMesh@@MEAAXXZ) ???
D:\workspace\UnrealProjects\TestProject\Binaries\Win64\UnrealEditor-TestProject.patch_0.exe : fatal error LNK1120: 1 ???

Meaning “FVoronoiDiagram” can’t be found。

here’s my code.

API file path
2024-01-12 173201
“UE_5.3\Engine\Source\Runtime\Experimental\Voronoi\Public\Voronoi”

Did you include Voronoi as a dependency in your ProjectName.Build.cs file?

1 Like

Yes, you’re fantastic, that’s right. :smiling_face_with_three_hearts:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.