[問題] lib編譯成功,但測試程式編譯失敗

作者: snow3804 (snow3804)   2017-07-11 17:52:41
開發平台(Platform): (Ex: Win10, Linux, ...)
windows
編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出)
visual studio 2015
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
WinNTL http://www.shoup.net/ntl/
問題(Question):
測試程式編譯錯誤
餵入的資料(Input):
NTLlib資料夾是我為了編譯NTLlib.lib所設立的資料夾
NTLlibtest資料夾則是測試程式但編譯失敗
預期的正確結果(Expected Output):
測試程式編譯成功
錯誤結果(Wrong Output):
error LNK2019: 無法解析的外部符號
https://www.dropbox.com/s/p9itqpurlueumf1/NTLlibtest.log?dl=0
程式碼(Code):(請善用置底文網頁, 記得排版)
https://www.dropbox.com/s/o8inoukqrfpg4pj/WinNTL-10_4_0.rar?dl=0
補充說明(Supplement):
作者: doghib (lun)   2017-07-11 23:29:00
lip.h的645行、ZZ_p.h的45行、ZZ.h的1077行class=>struct
作者: snow3804 (snow3804)   2017-07-12 07:25:00
謝謝你,已經成功了,再請教一下,你是從哪裡看出來要這樣改的,當初作者也會遇到編譯不過的問題阿
作者: doghib (lun)   2017-07-12 23:11:00
仔細看編譯器的warning

Links booklink

Contact Us: admin [ a t ] ucptt.com