Jump to content

Binary compilation external links


Recommended Posts

Hello all.

I have a problem which gives me headaches. I tried to compile all libraries of the external links for the binary source but still with no success.

I can compile successfully the binary in release and distribute mode, but in debug mode it gives me this error:

 

1>eterlib.lib(GrpTextInstance.obj) : error LNK2019: unresolved external symbol "int __cdecl Ymir_WideCharToMultiByte(unsigned int,unsigned long,wchar_t const *,int,char *,int,char const *,int *)" (?Ymir_WideCharToMultiByte@@YAHIKPB_WHPADHPBDPAH@Z) referenced in function "public: static int __cdecl CGraphicTextInstance::Hyperlink_GetText(char *,int)" (?Hyperlink_GetText@CGraphicTextInstance@@SAHPADH@Z)
1>eterlib.lib(GrpTextInstance.obj) : error LNK2019: unresolved external symbol "wchar_t __cdecl Arabic_ConvSymbol(wchar_t)" (?Arabic_ConvSymbol@@YA_W_W@Z) referenced in function "public: void __thiscall CGraphicTextInstance::Update(void)" (?Update@CGraphicTextInstance@@QAEXXZ)
1>eterlib.lib(GrpTextInstance.obj) : error LNK2019: unresolved external symbol "bool __cdecl Arabic_IsInPresentation(wchar_t)" (?Arabic_IsInPresentation@@YA_N_W@Z) referenced in function "public: void __thiscall CGraphicTextInstance::Update(void)" (?Update@CGraphicTextInstance@@QAEXXZ)
1>eterlib.lib(GrpTextInstance.obj) : error LNK2019: unresolved external symbol "bool __cdecl Arabic_HasPresentation(wchar_t *,int)" (?Arabic_HasPresentation@@YA_NPA_WH@Z) referenced in function "public: void __thiscall CGraphicTextInstance::Update(void)" (?Update@CGraphicTextInstance@@QAEXXZ)
1>eterlib.lib(GrpTextInstance.obj) : error LNK2019: unresolved external symbol "bool __cdecl Arabic_IsInSymbol(wchar_t)" (?Arabic_IsInSymbol@@YA_N_W@Z) referenced in function "public: void __thiscall CGraphicTextInstance::Update(void)" (?Update@CGraphicTextInstance@@QAEXXZ)
1>eterlib.lib(GrpTextInstance.obj) : error LNK2019: unresolved external symbol "unsigned int __cdecl Arabic_MakeShape(wchar_t *,unsigned int,wchar_t *,unsigned int)" (?Arabic_MakeShape@@YAIPA_WI0I@Z) referenced in function "public: void __thiscall CGraphicTextInstance::Update(void)" (?Update@CGraphicTextInstance@@QAEXXZ)
1>eterlib.lib(GrpTextInstance.obj) : error LNK2019: unresolved external symbol "int __cdecl Ymir_MultiByteToWideChar(unsigned int,unsigned long,char const *,int,wchar_t *,int)" (?Ymir_MultiByteToWideChar@@YAHIKPBDHPA_WH@Z) referenced in function "public: void __thiscall CGraphicTextInstance::Update(void)" (?Update@CGraphicTextInstance@@QAEXXZ)

What can I do? :(

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 5 years later...

If you are still having this problem, check your project/solution settings. Unresolved external errors mean the linker is not finding the definition of symbols.

Without seeing how your project is setup, it's hard to pinpoint what the problem is. Since the code compiles in release/distribute, then it's likely you have bad debug settings.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.