Hi Team, I have built 64 bit crypto library for windows application(64 bit) with the option "Multi-threaded Debug DLL (/MDd)"
When I compiled the code, I am getting many unresolved external symbols linking errors(LNK2019) as below: LNK2019 unresolved external symbol "void __cdecl CryptoPP::xorbuf(unsigned char *,unsigned char const *,unsigned char const *,unsigned __int64)" (?xorbuf@CryptoPP@@YAXPEAEPEBE1_K@Z) referenced in function "public: virtual struct CryptoPP::DecodingResult __cdecl CryptoPP::DL_EncryptionAlgorithm_Xor<class CryptoPP::HMAC<class CryptoPP::SHA1>,0>::SymmetricDecrypt(unsigned char const *,unsigned char const *,unsigned __int64,unsigned char *,class CryptoPP::NameValuePairs const &)const " (?SymmetricDecrypt@?$DL_EncryptionAlgorithm_Xor@V?$HMAC@VSHA1@CryptoPP@@@CryptoPP@@$0A@@CryptoPP@@UEBA?AUDecodingResult@2@PEBE0_KPEAEAEBVNameValuePairs@2@@Z) LNK2019 unresolved external symbol "void __cdecl CryptoPP::UnalignedDeallocate(void *)" (?UnalignedDeallocate@CryptoPP@@YAXPEAX@Z) referenced in function "public: void __cdecl CryptoPP::AllocatorWithCleanup<unsigned char,0>::deallocate(void *,unsigned __int64)" (?deallocate@?$AllocatorWithCleanup@E$0A@@CryptoPP@@QEAAXPEAX_K@Z) LNK2019 unresolved external symbol "void __cdecl CryptoPP::P1363_MGF1KDF2_Common(class CryptoPP::HashTransformation &,unsigned char *,unsigned __int64,unsigned char const *,unsigned __int64,unsigned char const *,unsigned __int64,bool,unsigned int)" (?P1363_MGF1KDF2_Common@CryptoPP@@YAXAEAVHashTransformation@1@PEAE_KPEBE232_NI@Z) referenced in function "public: static void __cdecl CryptoPP::P1363_KDF2<class CryptoPP::SHA1>::DeriveKey(unsigned char *,unsigned __int64,unsigned char const *,unsigned __int64,unsigned char const *,unsigned __int64)" (?DeriveKey@?$P1363_KDF2@VSHA1@CryptoPP@@@CryptoPP@@SAXPEAE_KPEBE121@Z) The application is build successful for 32 bit, but producing the above linking errors for 64 bit builds. Please let me know how I resolve these issues. Thanks, Lakshmi Chowdam. -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
