Undefined reference to CryptoPP::AlignedAllocate(unsigned int)
问题 I am using crypto++ in c++ linux. Here is my simple code: #include <iostream> #include <fstream> #include <string.h> #include "crypto++/cryptlib.h" #include "crypto++/modes.h" #include "crypto++/filters.h" #include "crypto++/aes.h" #include "crypto++/osrng.h" #include "crypto++/strciphr.h" using namespace std; using namespace CryptoPP; ifstream::pos_type size; char * memblock; int length; char * _iv[AES::BLOCKSIZE]; char * keys[AES::MAX_KEYLENGTH]; void encriptCTR(byte * outbyte, const byte *