problems were:
bool CryptoPP::FreqLessThan::operator ()(const
CryptoPP::HuffmanNode &,const CryptoPP::HuffmanNode &)
const' : cannot convert parameter 2 from 'int' to
'const CryptoPP::HuffmanNode &'
Reason: cannot convert from 'int' to 'const
CryptoPP::HuffmanNode' and similar problem with
CodeLessThan.
After I added required overloads, debug version (run
without prams) asserted in a completely strange place:
...
cryptest b [time for each benchmark in seconds]
- To run test vector file (available in TestVectors
subdirectory)
cryptest tv filename
error: invalid null pointer, at C:\Program
Files\VS8\VC\include\ostream: 524
Although, running crypttest v returned All tests passed.
Logged In: YES
user_id=581890
I tried compiling also with VC8 (Visual C++ 2005 Express) using the "Debug" solution. I got different warnings and such, but this one error freaks out the whole thing (and probably is the cause for all the subsequent problems occuring):
CryptoPP-5.2.1\modarith.h(125) : error C2327: 'CryptoPP::ModularArithmetic::modulus' : is not a type name, static, or enumerator