Hello,
I downloaded Crypto++ 7 and compiled it on Visual Studio 2013. I had
several errors but am able to build cryptlib and produce both a Release and
Debug *.lib files. However, when I copy it to another project and
compile/link with it for another Visual Studio 2013 project, I get
Unresolved Externals:
Error 563 error LNK2019: unresolved external symbol "void
__cdecl CryptoPP::Rijndael_UncheckedSetKey_SSE4_AESNI(unsigned char const
*,unsigned int,unsigned int *)"
(?Rijndael_UncheckedSetKey_SSE4_AESNI@CryptoPP@@YAXPBEIPAI@Z) referenced in
function "public: virtual void __thiscall
CryptoPP::Rijndael::Base::UncheckedSetKey(unsigned char const *,unsigned
int,class CryptoPP::NameValuePairs const &)"
(?UncheckedSetKey@Base@Rijndael@CryptoPP@@UAEXPBEIABVNameValuePairs@3@@Z)
C:\WorkAreas\TADESKTOP\TaGUI\cryptlib_d.lib(rijndael.obj) TaGui
Error 564 error LNK2019: unresolved external symbol "void
__cdecl CryptoPP::Rijndael_UncheckedSetKeyRev_AESNI(unsigned int *,unsigned
int)" (?Rijndael_UncheckedSetKeyRev_AESNI@CryptoPP@@YAXPAII@Z) referenced
in function "public: virtual void __thiscall
CryptoPP::Rijndael::Base::UncheckedSetKey(unsigned char const *,unsigned
int,class CryptoPP::NameValuePairs const &)"
(?UncheckedSetKey@Base@Rijndael@CryptoPP@@UAEXPBEIABVNameValuePairs@3@@Z)
C:\WorkAreas\TADESKTOP\TaGUI\cryptlib_d.lib(rijndael.obj) TaGui
Error 565 error LNK2019: unresolved external symbol "unsigned
int __cdecl CryptoPP::Rijndael_Enc_AdvancedProcessBlocks_AESNI(unsigned int
const *,unsigned int,unsigned char const *,unsigned char const *,unsigned
char *,unsigned int,unsigned int)"
(?Rijndael_Enc_AdvancedProcessBlocks_AESNI@CryptoPP@@YAIPBIIPBE1PAEII@Z)
referenced in function "public: virtual unsigned int __thiscall
CryptoPP::Rijndael::Enc::AdvancedProcessBlocks(unsigned char const
*,unsigned char const *,unsigned char *,unsigned int,unsigned int)const "
(?AdvancedProcessBlocks@Enc@Rijndael@CryptoPP@@UBEIPBE0PAEII@Z)
C:\WorkAreas\TADESKTOP\TaGUI\cryptlib_d.lib(rijndael.obj) TaGui
Error 566 error LNK2019: unresolved external symbol "unsigned
int __cdecl CryptoPP::Rijndael_Dec_AdvancedProcessBlocks_AESNI(unsigned int
const *,unsigned int,unsigned char const *,unsigned char const *,unsigned
char *,unsigned int,unsigned int)"
(?Rijndael_Dec_AdvancedProcessBlocks_AESNI@CryptoPP@@YAIPBIIPBE1PAEII@Z)
referenced in function "public: virtual unsigned int __thiscall
CryptoPP::Rijndael::Dec::AdvancedProcessBlocks(unsigned char const
*,unsigned char const *,unsigned char *,unsigned int,unsigned int)const "
(?AdvancedProcessBlocks@Dec@Rijndael@CryptoPP@@UBEIPBE0PAEII@Z)
C:\WorkAreas\TADESKTOP\TaGUI\cryptlib_d.lib(rijndael.obj) TaGui
Error 567 error LNK2019: unresolved external symbol "bool
__cdecl CryptoPP::CPU_ProbeSSE2(void)" (?CPU_ProbeSSE2@CryptoPP@@YA_NXZ)
referenced in function "void __cdecl CryptoPP::DetectX86Features(void)"
(?DetectX86Features@CryptoPP@@YAXXZ)
C:\WorkAreas\TADESKTOP\TaGUI\cryptlib_d.lib(cpu.obj) TaGui
I searched in the code for these functions and find them twice in
rijndael.cpp. But all I see is:
#if (CRYPTOPP_ARM_AES_AVAILABLE)
extern size_t Rijndael_Enc_AdvancedProcessBlocks_ARMV8(const word32
*subkeys, size_t rounds,
const byte *inBlocks, const byte *xorBlocks, byte *outBlocks,
size_t length, word32 flags);
extern size_t Rijndael_Dec_AdvancedProcessBlocks_ARMV8(const word32
*subkeys, size_t rounds,
const byte *inBlocks, const byte *xorBlocks, byte *outBlocks,
size_t length, word32 flags);
#endif
#if CRYPTOPP_ARM_AES_AVAILABLE
if (HasAES())
return Rijndael_Enc_AdvancedProcessBlocks_ARMV8(m_key,
m_rounds, inBlocks, xorBlocks, outBlocks, length, flags);
#endif
I do not see these functions actually coded anywhere. Am I missing
something? Any ideas on how I can fix this?
Thanks,
Darrin
--
You received this message because you are subscribed to "Crypto++ Users". More
information about Crypto++ and this group is available at
http://www.cryptopp.com and
http://groups.google.com/forum/#!forum/cryptopp-users.
---
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.