[cryptopp-users] Undefined reference to BufferedTransformation

2018-01-13 Thread zavodnyrichard
Does anybody know why I'm getting this error? https://pastebin.com/YeGA4dgN

I just want make fingerprint of a file and put it into string.
CryptoPP::SHA256 sha256Hasher;

CryptoPP::FileSource createFileFingerprint(filePath.c_str(), true, new 
CryptoPP::HashFilter(sha256Hasher, new CryptoPP::HexEncoder(new 
CryptoPP::StringSink(fileFingerprint;



-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [cryptopp-users] Undefined reference to BufferedTransformation

2018-01-13 Thread Marcel Raad
Am 13.01.2018 14:20 schrieb :

Does anybody know why I'm getting this error? https://pastebin.com/YeGA4dgN

I just want make fingerprint of a file and put it into string.
CryptoPP::SHA256 sha256Hasher;

CryptoPP::FileSource createFileFingerprint(filePath.c_str(), true, new
CryptoPP::HashFilter(sha256Hasher, new CryptoPP::HexEncoder(new
CryptoPP::StringSink(fileFingerprint;


Looks like you're not linking to Crypto++? How are you invoking the
compiler?

Marcel

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [cryptopp-users] Undefined reference to BufferedTransformation

2018-01-13 Thread zavodnyrichard
The same error when trying to hash string using *StringSource*.

Dne sobota 13. ledna 2018 14:23:30 UTC+1 Marcel Raad napsal(a):
>
> Am 13.01.2018 14:20 schrieb >:
>
> Does anybody know why I'm getting this error? 
> https://pastebin.com/YeGA4dgN
>
> I just want make fingerprint of a file and put it into string.
> CryptoPP::SHA256 sha256Hasher;
>
> CryptoPP::FileSource createFileFingerprint(filePath.c_str(), true, new 
> CryptoPP::HashFilter(sha256Hasher, new CryptoPP::HexEncoder(new 
> CryptoPP::StringSink(fileFingerprint;
>
>
> Looks like you're not linking to Crypto++? How are you invoking the 
> compiler?
>
> Marcel
>

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.