Hi all,

Previously all my c++ development was in Netbeans/cygwin/gcc/gdb combo or 
Qt Designer where I added *\cryptopp* to lib path after compiling the 
library and everything worked fine. But recent quirks of the former bundle 
are pushing me to abandon Netbeans for Visual Studio.
After installing Universal runtime into VS 2017 and successfully compiling 
Cryptlib, how do I reference it from my VS projects? I tried adding 
*\cryptopp\Win32\Output\Debug\ 
*to the lib path of the project properties, but VS still threw 121 
unresolved symbol errors such as 

Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "public: __thiscall 
CryptoPP::Algorithm::Algorithm(bool)" (??0Algorithm@CryptoPP@@QAE@_N@Z) 
referenced in function "public: __thiscall 
CryptoPP::AsymmetricAlgorithm::AsymmetricAlgorithm(void)" (??
0AsymmetricAlgorithm@CryptoPP@@QAE@XZ)
Error LNK2001 unresolved external symbol "public: virtual bool __thiscall 
CryptoPP::HashTransformation::TruncatedVerify(unsigned char const 
*,unsigned int)" (?TruncatedVerify@HashTransformation@CryptoPP@@UAE_NPBEI@Z)
Error LNK2001 unresolved external symbol "public: virtual unsigned char 
__thiscall CryptoPP::RandomNumberGenerator::GenerateByte(void)" (?
GenerateByte@RandomNumberGenerator@CryptoPP@@UAEEXZ)
Error LNK2001 unresolved external symbol "public: virtual unsigned int 
__thiscall CryptoPP::RandomNumberGenerator::GenerateBit(void)" (?
GenerateBit@RandomNumberGenerator@CryptoPP@@UAEIXZ)
Error LNK2001 unresolved external symbol "public: virtual unsigned int 
__thiscall CryptoPP::RandomNumberGenerator::GenerateWord32(unsigned 
int,unsigned int)" (?GenerateWord32@RandomNumberGenerator@CryptoPP@@UAEIII@Z
)


What am I doing wrong?

Thank you!
ZV

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