LNK1104无法打开文件"legacy_stdio_definitions.lib"

LNK1104 cannot open file 'legacy_stdio_definitions.lib'

本文关键字:legacy definitions lib stdio 文件 LNK1104      更新时间:2023-10-16

我已经将我的项目从 vs 2012 移植到 vs 2015。

我正在使用的库也是从 2015 年开始构建的。

我使用 makefile 构建我的项目并收到此错误

LNK1104 cannot open file 'legacy_stdio_definitions.lib'

如果我在 vs 2012 中构建相同的内容,它可以正常工作。

这个错误是怎么回事?

尝试在 Visual Studio 中打开项目,然后单击顶部菜单栏上的"项目"。单击"属性","链接器",然后单击"输入"。在"其他依赖项"中,单击旁边的向下箭头,然后单击"编辑"。添加"legacy_stdio_definitions.lib"并单击"确定",然后单击"确定"。