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
“UE_5.3\Engine\Source\Runtime\Experimental\Voronoi\Public\Voronoi”