LNK1104 无法打开文件“mfc100.lib”

问题描述 投票:0回答:1

我正在尝试重建在 Visual Studio 2010 上制作的旧程序,我将解决方案重新定位到 Visual Studio 2022 并做了一些细微的更改,现在当我尝试重建它时,我收到此错误

LNK1104  cannot open file 'mfc100.lib'

我在网上找不到任何东西来解决这个问题。 有谁知道该怎么办吗?

c++ visual-studio mfc
1个回答
-1
投票

您可以在这里找到解决方案:为什么在 Visual Studio 中编译 C++ 项目时出现致命错误“LNK1104: 无法打开文件 'C:\Program.obj'”?

另外,请尝试:从菜单中选择“构建->清理解决方案”。

来自微软:https://learn.microsoft.com/en-us/cpp/error-messages/tool-errors/linker-tools-error-lnk1104?view=msvc-170

"The error is reported when the linker fails to open a file, either for reading or for writing."
© www.soinside.com 2019 - 2024. All rights reserved.