Yes, the link to the compiled library (-lcryptopp) should solve Binh's problems 
as well.... cft

--- En date de : Dim 21.3.10, R S <[email protected]> a écrit :

De: R S <[email protected]>
Objet: Re: ECCTest example compile errors
À: "Binh Luong" <[email protected]>
Cc: [email protected]
Date: Dimanche 21 mars 2010, 16h13

I used ECCTest.zip source recently on linux without problems.
Here is what I compiled with
g++ -I<your path to cryptopp> -L<our path to libcrypto.a> -g ecctest.cpp 
-lcryptopp

On Sat, Mar 20, 2010 at 1:09 PM, Binh Luong <[email protected]> wrote:

Hi all,

i want to use the libraries in Crypto++ for my work. So i downloaded the

ECCTest.zip on the site

http://www.cryptopp.com/wiki/Elliptic_Curve_Cryptography

to try it.



But i cannot compile it in Linux. After adding the header files and cpp

files, i still get the errors. The command i use to compile is:

 g++ -Wall -I/*.h -o ecctest ecctest.cpp



And the most errors are:

.....

/tmp/ccGBuqFZ.o:(.rodata._ZTVN8CryptoPP4HMACINS_4SHA1EEE[vtable for

CryptoPP::HMAC<CryptoPP::SHA1>]+0x24): undefined reference to

`CryptoPP::SimpleKeyingInterface::SetKey(unsigned char const*, unsigned int,




      

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

To unsubscribe from this group, send email to 
cryptopp-users+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to