I am trying to make a helper class for ElGamal encryption. I have declared a function as so:
void doNothing(ElGamal::Decryptor dec); and I am trying to use it with an instance of my helper from main.cpp like so: ElGamal::Decryptor test; helper.doNothing(test); and I get something along the lines of: error: undefined reference to `ElGamalLib::doNothing(CryptoPP::PK_FinalTemplate<CryptoPP::ElGamalObjectImpl<CryptoPP::DL_DecryptorBase<CryptoPP::Integer>, CryptoPP::DL_CryptoSchemeOptions<CryptoPP::ElGamal, CryptoPP::ElGamalKeys, int, int, int>, CryptoPP::DL_PrivateKey_GFP_OldFormat<CryptoPP::DL_PrivateKey_GFP<CryptoPP::DL_GroupParameters_GFP_DefaultSafePrime> > > >)' What do I need to do to be able to pass this Decryptor to other functions in my code? -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- 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.