Using the G++ option *-lcryptopp*. The program will compile if I keep the *CryptoPP::SHA256 sha256Hasher;* and comment the FileSource.
Dne sobota 13. ledna 2018 14:20:36 UTC+1 zavodny...@gmail.com napsal(a): > > 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.