x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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@@V?$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?alt text

Product Version: UE 4.18
Tags:
aad.png (42.1 kB)
more ▼

asked Jan 25 '18 at 06:34 AM in Using UE4

avatar image

DDongJu
1 1

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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

more ▼

answered Jan 25 '18 at 11:24 AM

avatar image

xlar8or
6k 159 127 303

avatar image DDongJu Jan 26 '18 at 12:28 AM

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

avatar image xlar8or Jan 26 '18 at 09:52 AM

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

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question