error LNK2001: 无法解析的外部符号 __imp__wsprintfW
问题:
error LNK2001: 无法解析的外部符号 __imp__wsprintfW
error LNK2019: 无法解析的外部符号 [email protected],该符号在函数 [email protected][email protected]@@@@[email protected]@[email protected]$2 中被引用
error LNK2001: 无法解析的外部符号 [email protected]
error LNK2001: 无法解析的外部符号 [email protected]
error LNK2001: 无法解析的外部符号 [email protected]
error LNK2001: 无法解析的外部符号 [email protected]
环境:win10,VS2015;
解决方案:属性 -> 链接器 -> 输入 -> 附加依赖项。 勾选下方的从父级或项目默认设置继承。
解决方案二:
若清楚依赖那个lib,如上述依赖user32.lib,则将相应的lib填写到上面也可以。