1. 程式人生 > >glaux.lib(tk.obj) : error LNK2019: 無法解析的外部符號 _sscanf

glaux.lib(tk.obj) : error LNK2019: 無法解析的外部符號 _sscanf

1>glaux.lib(tk.obj) : error LNK2019: 無法解析的外部符號 _sscanf,該符號在函式 [email protected] 中被引用

1>glaux.lib(tk.obj) : error LNK2019: 無法解析的外部符號 _vsprintf,該符號在函式 _PrintMessage 中被引用

VS2015編譯會出現這個問題,解決辦法在專案屬性->連結器->輸入->附加依賴項中新增依賴項 legacy_stdio_definitions.lib;

轉載自https://zhidao.baidu.com/question/618293585890373852.html