Hello Lennart,

See if the following thread helps.

http://www.escribe.com/software/crypto/m3450.html

Jeff

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Lennart Lopin
> Sent: Tuesday, March 09, 2004 12:13 PM
> To: [EMAIL PROTECTED]
> Subject: unresolved external .NET 2003
> 
> 
> Hello @ all,
> 
> I am new to Crypto++ and tried to compile my first CPP
> project with Visual .NET 2003 - unfortunately i get
> "unresolved external" errors. Here is my code:
> 
> #include "stdafx.h"
> #include <stdlib.h>
> #include <stdio.h>
> #include "CryptoPP/cryptlib.h"
> #include "CryptoPP/des.h"
> #include "CryptoPP/modes.h"
> 
> //#include "CryptoPP/filters.h"
> using namespace CryptoPP;
> 
> int _tmain(int argc, _TCHAR* argv[])
> {
>                  DES::Encryption des;
> return 0;
> }
> 
> As you can see, i simply tried to initialize a des
> object. But even then i get the following errors:
> 
> Linking...
> DesEncrypter.obj : error LNK2001: unresolved external
> symbol "public: virtual void __thiscall 
> CryptoPP::BlockTransformation::ProcessAndXorMultipleBlocks(unsigned
> char const *,unsigned char const *,unsigned char
> *,unsigned int)const "
> ([EMAIL PROTECTED]@CryptoPP@@UB
> [EMAIL PROTECTED])
> DesEncrypter.obj : error LNK2001: unresolved external
> symbol "public: virtual void __thiscall 
> CryptoPP::DES::Base::ProcessAndXorBlock(unsigned char const 
> *,unsigned char const *,unsigned char *)const "
> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED])
> DesEncrypter.obj : error LNK2019: unresolved external
> symbol "public: __thiscall CryptoPP::Algorithm::Algorithm(bool)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) referenced in
> function "public: __thiscall 
> CryptoPP::BlockTransformation::BlockTransformation(void)"
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
> DesEncrypter.obj : error LNK2019: unresolved external
> symbol "public: void __thiscall 
> CryptoPP::DES::Base::UncheckedSetKey(enum
> CryptoPP::CipherDir,unsigned char const *,unsigned
> int)"
> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED])
> referenced in function "void __cdecl 
> CryptoPP::CheckedSetKey<class CryptoPP::BlockCipherTemplate<0,class
> CryptoPP::DES::Base> >(class CryptoPP::BlockCipherTemplate<0,class
> CryptoPP::DES::Base> *,enum
> CryptoPP::CipherDir,unsigned char const *,unsigned
> int,class CryptoPP::NameValuePairs const &)"
> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
> P@@@CryptoPP@@@CryptoPP@@[EMAIL PROTECTED]@VBase
> @[EMAIL PROTECTED]@@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@0@@Z)
> DesEncrypter.obj : error LNK2019: unresolved external
> symbol "protected: void __thiscall 
> CryptoPP::SimpleKeyingInterface::ThrowIfInvalidKeyLength(class
> CryptoPP::Algorithm const &,unsigned int)"
> ([EMAIL PROTECTED]@CryptoPP@@IAEX
> [EMAIL PROTECTED]@[EMAIL PROTECTED])
> referenced in function "public: void __thiscall 
> CryptoPP::SimpleKeyedTransformation<class
> CryptoPP::BlockTransformation>::ThrowIfInvalidKeyLength(unsigned
> int)"
> ([EMAIL PROTECTED]@VBlockTr
> [EMAIL PROTECTED]@@@CryptoPP@@[EMAIL PROTECTED])
> Debug/DesEncrypter.exe : fatal error LNK1120: 5
> unresolved externals
> 
> I would appreciate any hint on what causes this
> unresolved external error,
> 
> regards,
> 
> Lennart
> 
> 
> 
> 
>       
>               
> Mit sch�nen Gr��en von Yahoo! Mail - http://mail.yahoo.de
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to