gpt4 book ai didi

c++ - 程序无法启动,因为您的计算机缺少 mfc120ud.dll

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:07:29 25 4
gpt4 key购买 nike

我正在尝试运行我最近在另一台计算机上开发并使用 VS2013 编译的应用程序。

运行它我得到:

The program can't start because mfc120ud.dll is missing from your computer. Try reinstalling the program to fix this problem.

我已经从网上搜索了 mfc120ud.dll,但没有找到任何结果。我已经将这个 dll 文件从我开发该应用程序的计算机复制/粘贴到另一台计算机的 system32 上,这样做意味着:

C:\Users\u\System32\mfc120ud.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.

知道我正在开发的计算机是 64 位的,另一台是 32 位的,并且我已经从 System32 复制/粘贴了 mfc120ud.dll 版本,我该如何解决这个问题问题?

最佳答案

The program can't start because mfc120ud.dll is missing from your computer. Try reinstalling the program to fix this problem.

那是MFC 的调试库之一。这是您在构建程序的调试版本时链接的库。它存在于您的开发人员计算机上,但您无法重新分发它。

您需要执行以下操作:

  1. 构建您的项目以供发布。这将链接到任何运行时 DLL 的发布版本。
  2. 在您计划运行程序的任何机器上安装 MSVC 和 MFC 可再发行依赖项。另一种方法是将运行时 DLL 安装在与可执行文件相同的目录中。

I've copied/pasted the mfc120ud.dll version from System32

你不能这样做。原路返回并撤销。

关于c++ - 程序无法启动,因为您的计算机缺少 mfc120ud.dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22939558/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com