ubuntu下获取此库方法:
下载 winetricks:
wget http://www.kegel.com/wine/winetricks
确保有执行权限:
chmod +x winetricks
(可选:将文件放在如 /usr/local/bin 的系统文件夹下)
安装 cabextract:
aptitude install cabextract
执行
winetricks mfc42
The recommended
way of doing this under Wine is to follow the instructions on the Wine
wiki:
- download winetricks:
wget http://www.kegel.com/wine/winetricks
- make it executable:
chmod +x winetricks
(optional: place the file in a system directory such as /usr/local/bin)
- install cabextract:
aptitude install cabextract
(actually, I‘m not sure it‘s necessary for fixing the MFC problem, but it‘s definitely recommended for fixing other Wine problems)
- run
winetricks mfc42
如果提示Cannot find MFC42.DLL. Please, re-install this application,只需把Windows XP下的mfc42.dll和msvcp60.dll拷贝到*.exe同文件夹即可。Windows 7版本的mfc42文件有很多个,同名同姓,而且大小不一功能有别,甚至是还有大量的其它依赖库,版本太高反倒不好调试。
时间: 2024-11-05 12:06:54