Jump to content

Novaline binary compilation errors


Go to solution Solved by [TiTAN],

Recommended Posts

Hello metin2dev, I didn't want to end up here with this problem, but I can't seem to figure it out even though I'm sure the solution is simple. I'm getting these errors below when I try to compile the binary source.
 

Spoiler

Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol "public: __thiscall std::exception::exception(char const * const &)" (??0exception@std@@QAE@ABQBD@Z) UserInterface D:\project pure\sources\Client\UserInterface\cryptlib-5.6.1MT.lib(cryptlib.obj) 1
Error LNK2001 unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ) UserInterface D:\project pure\sources\Client\UserInterface\cryptlib-5.6.1MT.lib(cryptlib.obj) 1
Error LNK2001 unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ) UserInterface D:\project pure\sources\Client\UserInterface\cryptlib-5.6.1MT.lib(cryptlib.obj) 1
Error LNK2001 unresolved external symbol "public: char const * __thiscall type_info::name(struct __type_info_node *)const " (?name@type_info@@QBEPBDPAU__type_info_node@@@Z) UserInterface D:\project pure\sources\Client\UserInterface\cryptlib-5.6.1MT.lib(cryptlib.obj) 1
Error LNK2001 unresolved external symbol "public: bool __thiscall type_info::operator!=(class type_info const &)const " (??9type_info@@QBE_NABV0@@Z) UserInterface D:\project pure\sources\Client\UserInterface\cryptlib-5.6.1MT.lib(cryptlib.obj) 1
Error LNK2001 unresolved external symbol "public: __thiscall std::exception::exception(char const * const &,int)" (??0exception@std@@QAE@ABQBDH@Z) UserInterface D:\project pure\sources\Client\UserInterface\cryptlib-5.6.1MT.lib(misc.obj) 1
Error LNK2001 unresolved external symbol "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) UserInterface D:\project pure\sources\Client\UserInterface\cryptlib-5.6.1MT.lib(gf2n.obj) 1
Error LNK2001 unresolved external symbol "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) UserInterface D:\project pure\sources\Client\UserInterface\cryptlib-5.6.1MT.lib(gf2n.obj) 1
Error LNK2001 unresolved external symbol "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z) UserInterface D:\project pure\sources\Client\UserInterface\cryptlib-5.6.1MT.lib(integer.obj) 1
Error LNK2001 unresolved external symbol "public: __thiscall std::bad_cast::bad_cast(char const *)" (??0bad_cast@std@@QAE@PBD@Z) UserInterface D:\project pure\sources\Client\UserInterface\cryptlib-5.6.1MT.lib(integer.obj) 1
Error LNK2001 unresolved external symbol "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z) UserInterface D:\project pure\sources\Client\UserInterface\cryptlib-5.6.1MT.lib(integer.obj) 1
Error LNK2001 unresolved external symbol ___iob_func UserInterface D:\project pure\sources\Client\UserInterface\libjpeg-6bMT.lib(jerror.obj) 1
Error LNK1120 12 unresolved externals UserInterface D:\project pure\sources\Client\UserInterface\Release\metin2client.exe 1

I'm using Visual Studio 2022 Toolset v143 and SDK 10, and all the dependencies in VS are up to date. I've resolved almost all of the errors I received by including external headers and libraries. However, I'm still left with a few errors. I've searched on Google and forums, but the solutions I found didn't work for me. I also tried recompiling cryptopp, but it didn't work either. By the way, I've successfully compiled another source with this version of VS without any problems. I don't want to consider downgrading to 2013 or 2008 🙂 Thank you in advance, and I'm open to any advice.

Link to comment
Share on other sites

Now i recive this erros
 

Spoiler

Severity    Code    Description    Project    File    Line    Suppression State
Error    LNK2005    "protected: virtual void __thiscall CryptoPP::CipherModeBase::ResizeBuffers(void)" (?ResizeBuffers@CipherModeBase@CryptoPP@@MAEXXZ) already defined in EterPack.lib(EterPackPolicy_CSHybridCrypt.obj)    UserInterface    D:\project pure\sources\Client\UserInterface\cryptlib.lib(modes.obj)    1    
Error    LNK2005    "public: virtual void __thiscall CryptoPP::DL_GroupParameters_IntegerBased::EncodeElement(bool,class CryptoPP::Integer const &,unsigned char *)const " (?EncodeElement@DL_GroupParameters_IntegerBased@CryptoPP@@UBEX_NABVInteger@2@PAE@Z) already defined in cryptlib.lib(gfpcrypt.obj)    UserInterface    D:\project pure\sources\Client\UserInterface\eterBase.lib(cipher.obj)    1    
Error    LNK2005    "public: virtual unsigned int __thiscall CryptoPP::DL_GroupParameters_IntegerBased::GetEncodedElementSize(bool)const " (?GetEncodedElementSize@DL_GroupParameters_IntegerBased@CryptoPP@@UBEI_N@Z) already defined in cryptlib.lib(gfpcrypt.obj)    UserInterface    D:\project pure\sources\Client\UserInterface\eterBase.lib(cipher.obj)    1    
Error    LNK2001    unresolved external symbol "public: virtual void __thiscall CryptoPP::StreamTransformation::ProcessLastBlock(unsigned char *,unsigned char const *,unsigned int)" (?ProcessLastBlock@StreamTransformation@CryptoPP@@UAEXPAEPBEI@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\EterPack.lib(EterPack.obj)    1    
Error    LNK2001    unresolved external symbol "public: virtual void __thiscall CryptoPP::StreamTransformation::ProcessLastBlock(unsigned char *,unsigned char const *,unsigned int)" (?ProcessLastBlock@StreamTransformation@CryptoPP@@UAEXPAEPBEI@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\EterPack.lib(EterPackPolicy_CSHybridCrypt.obj)    1    
Error    LNK2001    unresolved external symbol "public: virtual void __thiscall CryptoPP::StreamTransformation::ProcessLastBlock(unsigned char *,unsigned char const *,unsigned int)" (?ProcessLastBlock@StreamTransformation@CryptoPP@@UAEXPAEPBEI@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\eterBase.lib(cipher.obj)    1    
Error    LNK2019    unresolved external symbol "public: __thiscall CryptoPP::StreamTransformationFilter::StreamTransformationFilter(class CryptoPP::StreamTransformation &,class CryptoPP::BufferedTransformation *,enum CryptoPP::BlockPaddingSchemeDef::BlockPaddingScheme,bool)" (??0StreamTransformationFilter@CryptoPP@@QAE@AAVStreamTransformation@1@PAVBufferedTransformation@1@W4BlockPaddingScheme@BlockPaddingSchemeDef@1@_N@Z) referenced in function "private: bool __thiscall CEterPack::__Decrypt_Panama(char const *,unsigned char const *,unsigned long,class CLZObject &)" (?__Decrypt_Panama@CEterPack@@AAE_NPBDPBEKAAVCLZObject@@@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\EterPack.lib(EterPack.obj)    1    
Error    LNK2001    unresolved external symbol "public: __thiscall CryptoPP::StreamTransformationFilter::StreamTransformationFilter(class CryptoPP::StreamTransformation &,class CryptoPP::BufferedTransformation *,enum CryptoPP::BlockPaddingSchemeDef::BlockPaddingScheme,bool)" (??0StreamTransformationFilter@CryptoPP@@QAE@AAVStreamTransformation@1@PAVBufferedTransformation@1@W4BlockPaddingScheme@BlockPaddingSchemeDef@1@_N@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\EterPack.lib(EterPackPolicy_CSHybridCrypt.obj)    1    
Error    LNK2001    unresolved external symbol "bool (__cdecl* CryptoPP::g_pAssignIntToInteger)(class type_info const &,void *,void const *)" (?g_pAssignIntToInteger@CryptoPP@@3P6A_NABVtype_info@@PAXPBX@ZA)    UserInterface    D:\project pure\sources\Client\UserInterface\EterPack.lib(EterPack.obj)    1    
Error    LNK2001    unresolved external symbol "bool (__cdecl* CryptoPP::g_pAssignIntToInteger)(class type_info const &,void *,void const *)" (?g_pAssignIntToInteger@CryptoPP@@3P6A_NABVtype_info@@PAXPBX@ZA)    UserInterface    D:\project pure\sources\Client\UserInterface\EterPack.lib(EterPackPolicy_CSHybridCrypt.obj)    1    
Error    LNK2001    unresolved external symbol "bool (__cdecl* CryptoPP::g_pAssignIntToInteger)(class type_info const &,void *,void const *)" (?g_pAssignIntToInteger@CryptoPP@@3P6A_NABVtype_info@@PAXPBX@ZA)    UserInterface    D:\project pure\sources\Client\UserInterface\eterBase.lib(cipher.obj)    1    
Error    LNK2019    unresolved external symbol "public: __thiscall CryptoPP::Integer::Integer(char const *)" (??0Integer@CryptoPP@@QAE@PBD@Z) referenced in function "public: virtual unsigned int __thiscall DH2KeyAgreement::Prepare(void *,unsigned int *)" (?Prepare@DH2KeyAgreement@@UAEIPAXPAI@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\eterBase.lib(cipher.obj)    1    
Error    LNK2019    unresolved external symbol "public: __thiscall CryptoPP::Integer::Integer(unsigned char const *,unsigned int,enum CryptoPP::Integer::Signedness)" (??0Integer@CryptoPP@@QAE@PBEIW4Signedness@01@@Z) referenced in function "public: virtual bool __thiscall CryptoPP::DL_SimpleKeyAgreementDomainBase<class CryptoPP::Integer>::Agree(unsigned char *,unsigned char const *,unsigned char const *,bool)const " (?Agree@?$DL_SimpleKeyAgreementDomainBase@VInteger@CryptoPP@@@CryptoPP@@UBE_NPAEPBE1_N@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\eterBase.lib(cipher.obj)    1    
Error    LNK2019    unresolved external symbol ___iob_func referenced in function _output_message    UserInterface    D:\project pure\sources\Client\UserInterface\libjpeg-6bMT.lib(jerror.obj)    1    
Error    LNK1120    6 unresolved externals    UserInterface    D:\project pure\sources\Client\UserInterface\Release\metin2client.exe    1    
 

 

Link to comment
Share on other sites

Spoiler

Severity    Code    Description    Project    File    Line    Suppression State
Error    LNK2005    "protected: virtual void __thiscall CryptoPP::CipherModeBase::ResizeBuffers(void)" (?ResizeBuffers@CipherModeBase@CryptoPP@@MAEXXZ) already defined in EterPack.lib(EterPackPolicy_CSHybridCrypt.obj)    UserInterface    D:\project pure\sources\Client\UserInterface\cryptlib.lib(modes.obj)    1    
Error    LNK2005    "public: virtual void __thiscall CryptoPP::DL_GroupParameters_IntegerBased::EncodeElement(bool,class CryptoPP::Integer const &,unsigned char *)const " (?EncodeElement@DL_GroupParameters_IntegerBased@CryptoPP@@UBEX_NABVInteger@2@PAE@Z) already defined in cryptlib.lib(gfpcrypt.obj)    UserInterface    D:\project pure\sources\Client\UserInterface\eterBase.lib(cipher.obj)    1    
Error    LNK2005    "public: virtual unsigned int __thiscall CryptoPP::DL_GroupParameters_IntegerBased::GetEncodedElementSize(bool)const " (?GetEncodedElementSize@DL_GroupParameters_IntegerBased@CryptoPP@@UBEI_N@Z) already defined in cryptlib.lib(gfpcrypt.obj)    UserInterface    D:\project pure\sources\Client\UserInterface\eterBase.lib(cipher.obj)    1    
Error    LNK2001    unresolved external symbol "public: virtual void __thiscall CryptoPP::StreamTransformation::ProcessLastBlock(unsigned char *,unsigned char const *,unsigned int)" (?ProcessLastBlock@StreamTransformation@CryptoPP@@UAEXPAEPBEI@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\EterPack.lib(EterPack.obj)    1    
Error    LNK2001    unresolved external symbol "public: virtual void __thiscall CryptoPP::StreamTransformation::ProcessLastBlock(unsigned char *,unsigned char const *,unsigned int)" (?ProcessLastBlock@StreamTransformation@CryptoPP@@UAEXPAEPBEI@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\EterPack.lib(EterPackPolicy_CSHybridCrypt.obj)    1    
Error    LNK2001    unresolved external symbol "public: virtual void __thiscall CryptoPP::StreamTransformation::ProcessLastBlock(unsigned char *,unsigned char const *,unsigned int)" (?ProcessLastBlock@StreamTransformation@CryptoPP@@UAEXPAEPBEI@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\eterBase.lib(cipher.obj)    1    
Error    LNK2019    unresolved external symbol "public: __thiscall CryptoPP::StreamTransformationFilter::StreamTransformationFilter(class CryptoPP::StreamTransformation &,class CryptoPP::BufferedTransformation *,enum CryptoPP::BlockPaddingSchemeDef::BlockPaddingScheme,bool)" (??0StreamTransformationFilter@CryptoPP@@QAE@AAVStreamTransformation@1@PAVBufferedTransformation@1@W4BlockPaddingScheme@BlockPaddingSchemeDef@1@_N@Z) referenced in function "private: bool __thiscall CEterPack::__Decrypt_Panama(char const *,unsigned char const *,unsigned long,class CLZObject &)" (?__Decrypt_Panama@CEterPack@@AAE_NPBDPBEKAAVCLZObject@@@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\EterPack.lib(EterPack.obj)    1    
Error    LNK2001    unresolved external symbol "public: __thiscall CryptoPP::StreamTransformationFilter::StreamTransformationFilter(class CryptoPP::StreamTransformation &,class CryptoPP::BufferedTransformation *,enum CryptoPP::BlockPaddingSchemeDef::BlockPaddingScheme,bool)" (??0StreamTransformationFilter@CryptoPP@@QAE@AAVStreamTransformation@1@PAVBufferedTransformation@1@W4BlockPaddingScheme@BlockPaddingSchemeDef@1@_N@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\EterPack.lib(EterPackPolicy_CSHybridCrypt.obj)    1    
Error    LNK2001    unresolved external symbol "bool (__cdecl* CryptoPP::g_pAssignIntToInteger)(class type_info const &,void *,void const *)" (?g_pAssignIntToInteger@CryptoPP@@3P6A_NABVtype_info@@PAXPBX@ZA)    UserInterface    D:\project pure\sources\Client\UserInterface\EterPack.lib(EterPack.obj)    1    
Error    LNK2001    unresolved external symbol "bool (__cdecl* CryptoPP::g_pAssignIntToInteger)(class type_info const &,void *,void const *)" (?g_pAssignIntToInteger@CryptoPP@@3P6A_NABVtype_info@@PAXPBX@ZA)    UserInterface    D:\project pure\sources\Client\UserInterface\EterPack.lib(EterPackPolicy_CSHybridCrypt.obj)    1    
Error    LNK2001    unresolved external symbol "bool (__cdecl* CryptoPP::g_pAssignIntToInteger)(class type_info const &,void *,void const *)" (?g_pAssignIntToInteger@CryptoPP@@3P6A_NABVtype_info@@PAXPBX@ZA)    UserInterface    D:\project pure\sources\Client\UserInterface\eterBase.lib(cipher.obj)    1    
Error    LNK2019    unresolved external symbol "public: __thiscall CryptoPP::Integer::Integer(char const *)" (??0Integer@CryptoPP@@QAE@PBD@Z) referenced in function "public: virtual unsigned int __thiscall DH2KeyAgreement::Prepare(void *,unsigned int *)" (?Prepare@DH2KeyAgreement@@UAEIPAXPAI@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\eterBase.lib(cipher.obj)    1    
Error    LNK2019    unresolved external symbol "public: __thiscall CryptoPP::Integer::Integer(unsigned char const *,unsigned int,enum CryptoPP::Integer::Signedness)" (??0Integer@CryptoPP@@QAE@PBEIW4Signedness@01@@Z) referenced in function "public: virtual bool __thiscall CryptoPP::DL_SimpleKeyAgreementDomainBase<class CryptoPP::Integer>::Agree(unsigned char *,unsigned char const *,unsigned char const *,bool)const " (?Agree@?$DL_SimpleKeyAgreementDomainBase@VInteger@CryptoPP@@@CryptoPP@@UBE_NPAEPBE1_N@Z)    UserInterface    D:\project pure\sources\Client\UserInterface\eterBase.lib(cipher.obj)    1    
Error    LNK2019    unresolved external symbol ___iob_func referenced in function _output_message    UserInterface    D:\project pure\sources\Client\UserInterface\libjpeg-9aMT.lib(jerror.obj)    1    
Error    LNK1120    6 unresolved externals    UserInterface    D:\project pure\sources\Client\UserInterface\Release\metin2client.exe    1    
 

I used libjpeg 9 because I couldn't find where jpegliblinker.h is in libjpeg-turbo, I'll look for how to update libjpeg turbo after I leave work, but even with 9 I get errors, I started vs with administrators, I gave rebuild to everything but nothing

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.