我想在 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/