On Oct 21, 9:23 am, goddener <[email protected]> wrote: > Hi everyone. > When I try to compile an example downloaded by the wiki of Crypto++, I > got the SAME error. > For example:http://www.cryptopp.com/wiki/RandomNumberGeneratorI use > RandomPool, ok? > When I use RP.cpp the lines > -CryptoPP::RandomPool rng( SEEDSIZE /* Default Ctor: 384 */ ); > -rng.Put( pcbSeed, SEEDSIZE ); > are wrong! > > RandomPool was not declared in this scope > I've tried to compile other examples, but all fails with the same > error. > Foo was not declared in this scope. > I dunno why but I've imported correctly all includes and file. It sounds like one of two things. First, try CryptoPP::RandomPool. If you are using a namespace, ensure you are including "cryptopp/osrng.h"
If you have the include and are using the namespace, you probably have a include path problem. Jeff -- 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.
