I had exact the same bugs. In my case the issue arises because I'm building
on x64 and thus have CRYPTOPP_X64_MASM_AVAILABLE set while
CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE is not set.
In Visual Studio (at least 2015 upwards) this worked for me:
1. enable masm in *Build Dependencies* > *Build Customizations*
(right-click on the cryptopp project in the solution explorer).
2. specify the location of ksamd64.inc (depending on the target platform
it will be under the include directory of the corresponding platform in the
Microsoft SDK install directory - e.g. C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include)
- right-click cryptopp project and select properties then under
*Configuration
Properties* > *Microsoft Macro Assembler* set the path on *Include
Paths*
3. Add *x64dll.asm* to your project (right-click cryptopp project and
select *Add* > *Existing Item...*). This file should be in one of source
directories of cryptopp
Hope this helps some since I struggled with this issue for days.
Malumbo
Am 30.11.2017 04:10 schrieb "MalleeswaraReddy s" <[email protected]
> <javascript:>>:
>
> cryptopp.lib(rijndael.obj) : error LNK2019: unresolved external symbol
> Rijndael_Enc_AdvancedProcessBlocks referenced in function "public: virtual
> unsigned __int64 __cdecl
> CryptoPP::Rijndael::Enc::AdvancedProcessBlocks(unsigned char const
> *,unsigned char const *,unsigned char *,unsigned __int64,unsigned int)const
> " (?AdvancedProcessBlocks@Enc@Rijndael@CryptoPP@@UEBA_KPEBE0PEAE_KI@Z)
>
> cryptopp.lib(integer.obj) : error LNK2019: unresolved external symbol
> Baseline_Add referenced in function "public: virtual class
> CryptoPP::Integer & __cdecl CryptoPP::ModularArithmetic::Accumulate(class
> CryptoPP::Integer &,class CryptoPP::Integer const &)const "
> (?Accumulate@ModularArithmetic@CryptoPP@@UEBAAEAVInteger@2@AEAV32@AEBV32@@Z)
>
> cryptopp.lib(integer.obj) : error LNK2019: unresolved external symbol
> Baseline_Sub referenced in function "public: virtual class
> CryptoPP::Integer & __cdecl CryptoPP::ModularArithmetic::Accumulate(class
> CryptoPP::Integer &,class CryptoPP::Integer const &)const "
> (?Accumulate@ModularArithmetic@CryptoPP@@UEBAAEAVInteger@2@AEAV32@AEBV32@@Z)
>
> cryptopp.lib(sha.obj) : error LNK2019: unresolved external symbol
> X86_SHA256_HashBlocks referenced in function "public: virtual unsigned
> __int64 __cdecl CryptoPP::SHA224::HashMultipleBlocks(unsigned int const
> *,unsigned __int64)" (?HashMultipleBlocks@SHA224@CryptoPP@@UEAA_KPEBI_K@Z)
>
>
> These are defined in x64dll.asm. I'm using the Visual Studio project files
> to build, where there's a build step to create object files for them.
>
> Marcel
>
>
--
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.