linux - 尝试在 Ubuntu 中使用 Wine 运行 Windows 应用程序时缺少 mfc140u.dll

标签 linux ubuntu ubuntu-16.04 wine

我想在 Ubuntu 16.04 中运行一个用 vs2017 编写的 c++ 应用程序。我已经安装了 Wine 版本 3.0.3 以及 Winetricks 版本 20140817。当尝试使用“wine app_name.exe”命令运行应用程序时,我收到一条错误消息

002e:err:module:import_dll Library mfc140u.dll (which is needed by L"path_to_my_application_library") not found

我尝试使用“安装 Windows DLL 或组件”选项通过 Winetrichs GUI 安装 mfc140u,但它似乎没有在可用包列表的任何位置列出。有谁知道如何让它可用?

最佳答案

确保您使用的是最新版本的 Wine(当前为 Wine 4)。你可以通过运行来检查:

wine --version

如果您需要升级 Wine,请查看说明 here .

该 dll 是 Visual C++ 可再发行组件的一部分。您需要安装它,应用程序才能运行。 Instructions are here .

关于linux - 尝试在 Ubuntu 中使用 Wine 运行 Windows 应用程序时缺少 mfc140u.dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52967733/

相关文章:

php - 无所事事的权限 Symfony

一个应用程序可以处理N个accept连接并且每个accept使用一个独立的线程吗

java - Eclipse 在 Ubuntu 中挂起

php - 当 zf 使用 PHP7 创建项目 ZendApp 时,在 zend framework 1 中找不到类 SimpleXMLIterator

linux - 如何以正确的方式使用 awk 中的命令

linux - iPerf 声称当给定 -w 的请求大小不同但速率不同时,它使用相同的 TCP 窗口大小

c++ - Ubuntu 中对 espeak-ng header 的 undefined reference

c++11 - 如何在 Ubuntu 上安装 C++11 编译器?

qt - 我在哪里可以下载 Ubuntu 的 qmlscene

r - Ubuntu 16.04 R 安装 : configure: gdal-config not found or not executable