Hi Pan,

It looks as though you are using the DLL's LIB files
(DLL_Import_debug/release) rather than those of the static LIB located
at Win32\cryptlib\Debug and Win32\cryptlib\Debug\Release.

Jeff

On 8/9/07, _PINUX_ <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> I built crypto++ version 5.5.1 in visual studio 2005 by selecting
> cryptlib(DLL_Import_debug/release configuration) static library. I
> tried to link this library into my multithread DLL. Then I got those
> errors. Could anyone help me out here. I have tried to google and
> checked out the FAQ from crypto++ site but I am still stuck here.
>
> Thanks in advance
>
> Pan
>
>
>
> 1>Sha256.obj : error LNK2001: unresolved external symbol "public:
> virtual void __thiscall CryptoPP::IteratedHashBase<unsigned int,class
> CryptoPP::HashTransformation>::Update(unsigned char const *,unsigned
> int)" ([EMAIL PROTECTED]
> [EMAIL PROTECTED]@CryptoPP@@@CryptoPP@@[EMAIL PROTECTED])
>
> 1>Sha256.obj : error LNK2001: unresolved external symbol "public:
> virtual unsigned char * __thiscall CryptoPP::IteratedHashBase<unsigned
> int,class CryptoPP::HashTransformation>::CreateUpdateSpace(unsigned
> int &)" ([EMAIL PROTECTED]
> [EMAIL PROTECTED]@CryptoPP@@@CryptoPP@@[EMAIL PROTECTED])
>
> 1>Sha256.obj : error LNK2001: unresolved external symbol "public:
> virtual void __thiscall CryptoPP::IteratedHashBase<unsigned int,class
> CryptoPP::HashTransformation>::Restart(void)" ([EMAIL PROTECTED]
> [EMAIL PROTECTED]@CryptoPP@@@CryptoPP@@UAEXXZ)
> 1>Sha256.obj : error LNK2001: unresolved external symbol "public:
> virtual void __thiscall CryptoPP::IteratedHashBase<unsigned int,class
> CryptoPP::HashTransformation>::TruncatedFinal(unsigned char *,unsigned
> int)" ([EMAIL PROTECTED]
> [EMAIL PROTECTED]@CryptoPP@@@CryptoPP@@[EMAIL PROTECTED])
>
> 1>Sha256.obj : error LNK2001: unresolved external symbol "public:
> virtual bool __thiscall
> CryptoPP::HashTransformation::TruncatedVerify(unsigned char const
> *,unsigned int)" (?
> [EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED])
> 1>Sha256.obj : error LNK2001: unresolved external symbol "protected:
> virtual unsigned int __thiscall CryptoPP::IteratedHashBase<unsigned
> int,class CryptoPP::HashTransformation>::HashMultipleBlocks(unsigned
> int const *,unsigned int)" ([EMAIL PROTECTED]
> [EMAIL PROTECTED]@CryptoPP@@@CryptoPP@@[EMAIL PROTECTED])
>
> 1>Sha256.obj : error LNK2019: unresolved external symbol "public:
> static void __cdecl CryptoPP::SHA256::Transform(unsigned int
> *,unsigned int const *)" ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED])
> referenced in function "protected: virtual void __thiscall
> CryptoPP::IteratedHashWithStaticTransform<unsigned int,struct
> CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,64,32,class
> CryptoPP::SHA256,0>::HashEndianCorrectedBlock(unsigned int const *)" (?
> [EMAIL PROTECTED]@IU?
> [EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL 
> PROTECTED]@
> $0A@@CryptoPP@@[EMAIL PROTECTED])
>
> 1>Sha256.obj : error LNK2019: unresolved external symbol "public:
> static void __cdecl CryptoPP::SHA256::InitState(unsigned int *)" (?
> [EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) referenced in function
> "protected: virtual void __thiscall
> CryptoPP::IteratedHashWithStaticTransform<unsigned int,struct
> CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,64,32,class
> CryptoPP::SHA256,0>::Init(void)" ([EMAIL PROTECTED]
> [EMAIL PROTECTED]@[EMAIL PROTECTED]@@
> [EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@$0A@@CryptoPP@@MAEXXZ)
>
> 1>Sha256.obj : error LNK2019: unresolved external symbol "public:
> __thiscall CryptoPP::Algorithm::Algorithm(bool)" (??
> [EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) referenced in function "public:
> __thiscall CryptoPP::HashTransformation::HashTransformation(void)" (??
> [EMAIL PROTECTED]@@[EMAIL PROTECTED])
>
> 1>M:\Source\Visual Studio 2005\Projects\File_Pass_locker
> \FilePassLocker_1.0.0.23_crypto++included\Debug\libmcrypto.dll : fatal
> error LNK1120: 9 unresolved externals
>
>
> >
>

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

Reply via email to