On Friday, March 15, 2019 at 5:08:26 AM UTC-4, Jeffrey Walton wrote:
>
> On Thu, Mar 14, 2019 at 11:42 AM <[email protected]> wrote: 
> > 
> > Compile error message is as follows: 
> > 
> > 1>gf2n.obj : error LNK2019: unresolved external symbol "void __cdecl 
> CryptoPP::GF2NT_233_Multiply_Reduce_CLMUL(unsigned int const *,unsigned int 
> const *,unsigned int *)" 
> (?GF2NT_233_Multiply_Reduce_CLMUL@CryptoPP@@YAXPBI0PAI@Z) referenced in 
> function "public: virtual class CryptoPP::PolynomialMod2 const & __thiscall 
> CryptoPP::GF2NT233::Multiply(class CryptoPP::PolynomialMod2 const &,class 
> CryptoPP::PolynomialMod2 const &)const " 
> (?Multiply@GF2NT233@CryptoPP@@UBEABVPolynomialMod2@2@ABV32@0@Z) 
> > 
> > 1>gf2n.obj : error LNK2019: unresolved external symbol "void __cdecl 
> CryptoPP::GF2NT_233_Square_Reduce_CLMUL(unsigned int const *,unsigned int 
> *)" (?GF2NT_233_Square_Reduce_CLMUL@CryptoPP@@YAXPBIPAI@Z) referenced in 
> function "public: virtual class CryptoPP::PolynomialMod2 const & __thiscall 
> CryptoPP::GF2NT233::Square(class CryptoPP::PolynomialMod2 const &)const " 
> (?Square@GF2NT233@CryptoPP@@UBEABVPolynomialMod2@2@ABV32@@Z) 
> > 
> > 1>Win32\DLL_Output\Debug\\cryptopp.dll : fatal error LNK1120: 2 
> unresolved externals 
>
> https://github.com/weidai11/cryptopp/commit/3185e93fe303 
>
> But also see https://cryptopp.com/wiki/FIPS_DLL


My bad, I missed adding gf2n_simd.cpp to the DLL project. We were OK in the 
past, but the addition needed to happen after we added CRYPTOPP_DLL.

Also see https://github.com/weidai11/cryptopp/commit/9f8017a276be

Jeff

-- 
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.

Reply via email to