Error LNK2019

MoskitPluginMain.cpp.obj : error LNK2019: “public: __cdecl ThreadMgr::ThreadMgr(void)” (??0ThreadMgr@@QEAA@XZ) ?ܺ? ??ȣ(??? ??ġ: “protected: virtual void __cdecl AMoskitPluginMain::BeginPlay(void)” (?BeginPlay@AMoskitPluginMain@@MEAAXXZ) ?Լ?)??? Ȯ??? ???߽??ϴ?.
MoskitPluginMain.cpp.obj : error LNK2019: “public: void __cdecl ThreadMgr::EnsureCompletion(void)” (?EnsureCompletion@ThreadMgr@@QEAAXXZ) ?ܺ? ??ȣ(??? ??ġ: “protected: virtual void __cdecl AMoskitPluginMain::BeginDestroy(void)” (?BeginDestroy@AMoskitPluginMain@@MEAAXXZ) ?Լ?)??? Ȯ??? ???߽??ϴ?.
MoskitPluginMain.cpp.obj : error LNK2019: “public: void __cdecl ThreadMgr::AddGameObjectDataMng(class std::list >,int)” (?AddGameObjectDataMng@ThreadMgr@@QEAAXV?$list@VScene@MOSKIT_UNITY_LIB@MSAnalyzer@@anonymous_user_e71e0d8a1?$allocator@VScene@MOSKIT_UNITY_LIB@MSAnalyzer@@@std@@@std@@H@Z) ?ܺ? ??ȣ(??? ??ġ: “public: virtual void __cdecl AMoskitPluginMain::Tick(float)” (?Tick@AMoskitPluginMain@@UEAAXM@Z) ?Լ?)??? Ȯ??? ???߽??ϴ?.

class MoskitPluginMain is Actor.
class ThreadMgr is Empty class.(have some function)

i use fuction of Empty class in Actor cpp and I get error when compiling in the editor.

how i can fixed?

Hey there, if you are having linker errors in MoskitPluginMain then you might be missing some includes in the header file for ThreadMgr.

i include ThreadMgr.h at MoskitPluginMain.h but when use ThreadMgr’s function in MoskitPluginMain.cpp, i get Linker errors…

Could those functions be in the header file but there is no definition in the cpp?