我現在在使用crypt++ 4.2的library
其中test.cpp檔是原來library的測試檔
為什麼用VC6.0 compile的時候可以過
但是要bulid test.exe時卻出現
一堆
Linking...
test.obj : error LNK2001: unresolved external symbol "public: __thiscall CryptoPP::FileSource::FileSource(char const *,bool,class CryptoPP::BufferedTransformation *)" (??0FileSource@CryptoPP@@QAE@PBD_NPAVBufferedTransformation@1@@Z)
test.obj : error LNK2001: unresolved external symbol "public: __thiscall CryptoPP::FileSink::FileSink(class std::basic_ostream > &)" (??0FileSink@CryptoPP@@QAE@AAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
test.obj : error LNK2001: unresolved external symbol "void __cdecl BenchMarkAll(double)" (?BenchMarkAll@@YAXN@Z)
test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CryptoPP::BufferedTransformation::MessageEnd(int)" (?MessageEnd@BufferedTransformation@CryptoPP@@UAEXH@Z)
test.obj : error LNK2001: unresolved external symbol "public: __thiscall CryptoPP::HexEncoder::HexEncoder(class CryptoPP::BufferedTransformation *,bool)" (??0HexEncoder@CryptoPP@@QAE@PAVBufferedTransformation@1@_N@Z)
test.obj : error LNK2001: unresolved external symbol "public: __thiscall CryptoPP::FileSink::FileSink(char const *,bool)" (??0FileSink@CryptoPP@@QAE@PBD_N@Z)
test.obj : error LNK2001: unresolved external symbol "public: __thiscall CryptoPP::Integer::Integer(long)" (??0Integer@CryptoPP@@QAE@J@Z)
test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CryptoPP::RandomPool::Put(unsigned char const *,unsigned int)" (?Put@RandomPool@CryptoPP@@UAEXPBEI@Z)
test.obj : error LNK2001: unresolved external symbol "public: __thiscall CryptoPP::RandomPool::RandomPool(unsigned int)" (??0RandomPool@CryptoPP@@QAE@I@Z)
test.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall CryptoPP::BufferedTransformation::Get(unsigned char *,unsigned int)" (?Get@BufferedTransformation@CryptoPP@@UAEIPAEI@Z)
test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CryptoPP::HexEncoder::Put(unsigned char const *,unsigned int)" (?Put@HexEncoder@CryptoPP@@UAEXPBEI@Z)
test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CryptoPP::EncryptorTemplate,&unsigned char * CryptoPP::OAEP_P_DEFAULT,0>,c