看板 C_and_CPP 關於我們 聯絡資訊
開發平台(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): -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.42.112.207 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1499766767.A.FC9.html
doghib: lip.h的645行、ZZ_p.h的45行、ZZ.h的1077行class=>struct 07/11 23:29
snow3804: 謝謝你,已經成功了,再請教一下,你是從哪裡看出來 07/12 07:25
snow3804: 要這樣改的,當初作者也會遇到編譯不過的問題阿 07/12 07:26
doghib: 仔細看編譯器的warning 07/12 23:11