I created a new project which just include the file "dlltest.cpp"( I copied from crypto521).
When I build it, I got a lot of link errors. I have include the cryptopp.lib in the lib. "Would you please let me know how I can fix it. Is there any more lib files I have to include?
 
Thanks in advance.
 
Windows 2000 with MSVC 6.0 sp5.
 
Here is the error messages:
--------------------Configuration: test - Win32 Debug--------------------
Compiling...
dlltest.cpp
Linking...
dlltest.obj : error LNK2001: unresolved external symbol "class CryptoPP::NullNameValuePairs const  CryptoPP::g_nullNameValuePairs" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@B)
dlltest.obj : error LNK2001: unresolved external symbol "void __cdecl CryptoPP::DoDllPowerUpSelfTest(void)" ([EMAIL PROTECTED]@@YAXXZ)
dlltest.obj : error LNK2001: unresolved external symbol "void __cdecl CryptoPP::SimulatePowerUpSelfTestFailure(void)" ([EMAIL PROTECTED]@@YAXXZ)
dlltest.obj : error LNK2001: unresolved external symbol "bool __cdecl CryptoPP::FIPS_140_2_ComplianceEnabled(void)" ([EMAIL PROTECTED]@@YA_NXZ)
dlltest.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CryptoPP::SHA::Transform(unsigned int *,unsigned int const *)" ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED])
dlltest.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CryptoPP::SHA::InitState(unsigned int *)" ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED])
dlltest.obj : error LNK2001: unresolved external symbol "public: static class CryptoPP::Integer  __cdecl CryptoPP::Integer::Gcd(class CryptoPP::Integer const &,class CryptoPP::Integer const &)" ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@[EMAIL PROTECTED])
dlltest.obj : error LNK2001: unresolved external symbol "public: static class CryptoPP::Integer const & __cdecl CryptoPP::Integer::One(void)" ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED])
dlltest.obj : error LNK2001: unresolved external symbol "public: static class CryptoPP::Integer c! onst & __cdecl CryptoPP::Integer::Zero(void)" ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED])
dlltest.obj : error LNK2001: unresolved external symbol "void __cdecl CryptoPP::SignaturePairwiseConsistencyTest_FIPS_140_Only(class CryptoPP::PK_Signer const &,class CryptoPP::PK_Verifier const &)" ([EMAIL PROTECTED]
ryptoPP@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z)
dlltest.obj : error LNK2001: unresolved external symbol "void __cdecl CryptoPP::BERDecodeNull(class CryptoPP::BufferedTransformation &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
dlltest.obj : error LNK2001: unresolved external symbol "void __cdecl CryptoPP::DEREncodeNull(class CryptoPP::BufferedTransformation &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
dlltest.obj : error LNK2001: unresolved external symbol "class CryptoPP::RandomNumberGenerator & __cdecl CryptoPP::NullRNG(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@XZ)
dlltest.obj : error LNK2001: unresolved external symbol! "public: static class CryptoPP::Integer  __cdecl CryptoPP::Integer::Power2(unsigned int)" ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@Z)
dlltest.obj : error LNK2001: unresolved external symbol "bool (__cdecl* CryptoPP::AssignIntToInteger)(class type_info const &,void *,void const *)" ([EMAIL PROTECTED]@@3P6A_NABVtype_info@@[EMAIL PROTECTED])
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol [EMAIL PROTECTED]
Debug/test.exe : fatal error LNK1120: 16 unresolved externals
Error executing link.exe.
test.exe - 17 error(s), 0 warning(s)


Do you Yahoo!?
vote.yahoo.com - Register online to vote today!

Reply via email to