Hi Dark Con,
The following may be of help.
http://www.cryptopp.com/wiki/Linux.
Jeff
On 6/16/09, Dark Con <
d4rkcon@...> wrote:
>
> Hi guys,
>
> I'm just starting out with the crypto++ examples, trying to work through
> some examples to understand how everything goes together. All the
> complete projects I can find seem to be built for Visual C++ or other
> Windows environments, but my coding environment uses the CodeBlocks IDE.
> I've set up a build environment (with the crypto++ libraries) on both a
> Mac OSX system and a Linux system and seem to be running into the same
> snag in both cases. I'm sure my error has something to do with my
> includes, or possibly the placement of files, etc. but I can't find a
> complete example to compare against so I thought you guys might be able
> to help.
>
> I've linked the compiled libcryptopp.a file into the project and added
> the /usr/include/cryptopp/ directory to the project so it can find the
> included files.
>
> The project I'm compiling is a very slightly modified version of the
> Sample 2 project from this page:
>
http://www.codeproject.com/KB/security/BlockCiphers.aspx>
> When compiling the code I get a linking error which produces:
>
> Undefined symbols:
> "CryptoPP::Rijndael::Enc::AdvancedProcessBlocks(unsigned char const*,
> unsigned char const*, unsigned char*, unsigned long, unsigned int)
> const", referenced from:
> vtable for CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0,
> CryptoPP::Rijndael::Enc>in displayclient.o
> vtable for
> CryptoPP::ClonableImpl<CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0, CryptoPP::Rijndael::Enc>,
> CryptoPP::Rijndael::Enc>in displayclient.o
> "non-virtual thunk to
> CryptoPP::Rijndael::Enc::AdvancedProcessBlocks(unsigned char const*,
> unsigned char const*, unsigned char*, unsigned long, unsigned int)
> const", referenced from:
> vtable for CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0,
> CryptoPP::Rijndael::Enc>in displayclient.o
> vtable for
> CryptoPP::ClonableImpl<CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0, CryptoPP::Rijndael::Enc>,
> CryptoPP::Rijndael::Enc>in displayclient.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
> The code that produces this error is:
>
> [SNIP]
>
> Any help would be appreciated. Thanks.
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to
cryptopp-users-unsubscribe@....
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---