全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:9967
推到 Plurk!
推到 Facebook!

請問VC6.0下unresolved external symbol 是什麼意思

尚未結案
oliwadplus
一般會員


發表:1
回覆:1
積分:0
註冊:2004-11-11

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-11-25 21:09:53 IP:140.114.xxx.xxx 未訂閱
我現在在使用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
pkdemon
初階會員


發表:2
回覆:51
積分:25
註冊:2004-09-13

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-11-25 22:55:16 IP:220.137.xxx.xxx 未訂閱
oliwadplus 你好,    請到project->settings->c/c++,將Category選成Precompiled Headers,然後選擇第一個"Not using precompiled headers"    試試看吧
oliwadplus
一般會員


發表:1
回覆:1
積分:0
註冊:2004-11-11

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-11-29 11:21:25 IP:140.114.xxx.xxx 未訂閱
對不起 好像不行ㄟ
pkdemon
初階會員


發表:2
回覆:51
積分:25
註冊:2004-09-13

發送簡訊給我
#4 引用回覆 回覆 發表時間:2004-11-29 14:29:17 IP:211.22.xxx.xxx 未訂閱
oliwadplus 你好 我剛開始可能搞錯問題了... 請參考下面連結 http://delphi.ktop.com.tw/topic.php?TOPIC_ID=56929
系統時間:2024-07-06 12:36:35
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!