> Hi Jeff,
>
> I have used the provided pre-converted set of project files except
> <PlatformToolset>v120</PlatformToolset>
>
> I have created the library successfully and when I integrated in my
> application it produced couple of link errors as below:
>
> LNK2001 unresolved external symbol "public: virtual void __cdecl
> CryptoPP::DL_SignatureMessageEncodingMethod_DSA::ComputeMessageRepresentative(class
> CryptoPP::RandomNumberGenerator &,unsigned char const *,unsigned
> __int64,class CryptoPP::HashTransformation &,struct std::pair<unsigned char
> const *,unsigned __int64>,bool,unsigned char *,unsigned __int64)const "
> (?ComputeMessageRepresentative@DL_SignatureMessageEncodingMethod_DSA@CryptoPP@@UEBAXAEAVRandomNumberGenerator@2@PEBE_KAEAVHashTransformation@2@U?$pair@PEBE_K@std@@_NPEAE2@Z)
>
> LNK2001 unresolved external symbol "public: virtual bool __cdecl
> CryptoPP::PK_DeterministicSignatureMessageEncodingMethod::VerifyMessageRepresentative(class
> CryptoPP::HashTransformation &,struct std::pair<unsigned char const
> *,unsigned __int64>,bool,unsigned char *,unsigned __int64)const "
> (?VerifyMessageRepresentative@PK_DeterministicSignatureMessageEncodingMethod@CryptoPP@@UEBA_NAEAVHashTransformation@2@U?$pair@PEBE_K@std@@_NPEAE_K@Z)
>
> Are these problems with the PlatformToolset is set to v120?

I can't duplicate the issue using the latest sources. That's under
bother Vs2010.zip and Vs2010-dynamic.zip. For completeness, I
performed a Build -> Batch Build -> Build All. The Build All builds
all of the 24 configurations as described on the Visual Studio wiki
page (https://www.cryptopp.com/wiki/Visual_Studio#Projects_and_Configurations).

I guess the next question to ask is, what version of the library are
you using, and where did you get the library? As far as I know, a
similar issue under Clang was cleared via
https://github.com/weidai11/cryptopp/issues/300. Clang's fix broke
Visual Studio momentarily, but it was cleared the same day.

Issue 300 was cleared on September 22. The two surrounding releases
were Crypto++ 5.6.4 on September 11, and Crypto++ 5.6.5 on October 11.
There should be no release ZIPs in the wild that are half fixed.

Jeff

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

Reply via email to