I guess Eugen doesn't need this information anymore, but in case others have 
the same problem, either use the static library instead of the DLL, or see 
http://groups.google.com/group/cryptopp-users/msg/6373d2c85e7b0e8d.

--------------------------------------------------
From: "Eugen" <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2008 10:08 AM
To: "Crypto++ Users" <[EMAIL PROTECTED]>
Subject: Re: Linking problem

>
> and what shall I do here?
> thx
>
> On Feb 16, 2:04 pm, "Jeffrey Walton" <[EMAIL PROTECTED]> wrote:
>> Hi Eugen,
>>
>> > 2>dlltest.obj : error LNK2001: unresolved external symbol "private:
>> > static int const * __cdecl
>> > CryptoPP::Base64Decoder::GetDecodingLookupArray(void)" (?
>> > [EMAIL PROTECTED]@CryptoPP@@CAPBHXZ)
>>
>> I believe the Dll (built for FIPS Certification) does not export
>> deprecated algorithms such as DES and other candy such as HexEncoder
>> and Base64Encoder.
>>
>> Jeff
>>
>> On 2/15/08, Eugen <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> > Hi
>>
>> > I just downloaded Crypto++ 552. succesfully compiled dll version.
>> > dlltest project compiles and works good, but when I add such lines to
>> > it (trying to decode a 3DES text which comes Base64 encoded)
>>
>> >  std::string decipher;
>> >  CryptoPP::CBC_Mode<CryptoPP::DES_EDE3>::Decryption _3des(key,
>> > CryptoPP::DES_EDE3::DEFAULT_KEYLENGTH, iv);
>> >  CryptoPP::StringSink sink(decipher);
>> >  CryptoPP::StreamTransformationFilter dec(_3des, &sink);
>> >  CryptoPP::Base64Decoder base64_dec(&dec);
>> >  CryptoPP::StringSource source(ansiString, true, &base64_dec);
>>
>> > Btw, is my code correct for decoding a 3DES string which comes Base64
>> > encoded? What would be the code to encode a PlaintText with 3DES and
>> > Base64?
>>
>> > then I'm getting such an error when linking
>> > 2>dlltest.obj : error LNK2001: unresolved external symbol "private:
>> > static int const * __cdecl
>> > CryptoPP::Base64Decoder::GetDecodingLookupArray(void)" (?
>> > [EMAIL PROTECTED]@CryptoPP@@CAPBHXZ)
>>
>> > Any ideas how to fix this are welcome.
>> > Using VS 2005.
>>
>> > Thx
> > 


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