Hi Paul,

This typically indicates you are linking against the static library
components. See
http://groups.google.com/group/cryptopp-users/browse_frm/thread/47ee749aba7ae725/b5db05ac00ca8846

Jeff

On 10/19/07, Paul <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> 1) I am using the FIPS 5.3.0 DLL.
> 2) I am using the code in Denis Bider's AESPHM class.
>
> I wrote the following main() in order to build an application to use
> the AESPHM methods --
>
> #include "aesphm.h"
> #include <osrng.h>
>
> using namespace CryptoPP;
>
> int main( int argc, char** argv )
> {
>        AutoSeededRandomPool rng;
>        ConstByteArrayParameter passphrase( "ThisIsASimplePassPhrase" );
>        ConstByteArrayParameter input( "This is a test of the Crypto++
> library." );
>        byte encBuffer[1024];
>        unsigned int len = AESPHM::Encrypt( rng, passphrase, encBuffer,
> input );
>
>        ConstByteArrayParameter decryptInput( encBuffer, len );
>        byte decBuffer[1024];
>        DecodingResult result = AESPHM::Decrypt( passphrase, decBuffer,
> decryptInput );
>
>        return 0;
> }
>
> I am building with Visual C++ 2005 Express Edition.
>
> I am getting two link errors --
> error LNK2001: unresolved external symbol "class
> CryptoPP::NullNameValuePairs const CryptoPP::g_nullNameValuePairs" (?
> [EMAIL PROTECTED]@@[EMAIL PROTECTED]@B)
>
> error LNK2001: unresolved external symbol "bool (__cdecl*
> CryptoPP::g_pAssignIntToInteger)(class type_info const &,void *,void
> const *)" (?
> [EMAIL PROTECTED]@@3P6A_NABVtype_info@@[EMAIL PROTECTED])
>
> How do I fix these errors?
>
>
> >
>

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