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@@[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]@@@CryptoPP@@@CryptoPP@@[EMAIL 
PROTECTED]@[EMAIL PROTECTED]@CryptoPP@@@[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@@[EMAIL PROTECTED]@[EMAIL PROTECTED])
referenced in function "public: void __thiscall
CryptoPP::SimpleKeyedTransformation<class
CryptoPP::BlockTransformation>::ThrowIfInvalidKeyLength(unsigned
int)"
([EMAIL PROTECTED]@[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

Reply via email to