git clone https://gitee.com/winehq/wine.git
git checkout wine-9.1
x86_64
注意(没有--enable-win32选项!)
sudo apt install build-essential git libtool m4 autoconf automake pkg-config libc6-dev-i386 zlib1g-dev libncurses5-dev libssl-dev libpulse-dev libasound2-dev
sudo ln -s -v asm-generic asm
./configure --enable-win64
make -j6
sudo make install
没有wine32,只有wine64
测试启动notepad
先删除~/.wine 目录(防止以前的版本冲突)
启动了记事本,但是菜单中文乱码(应该需要安装字体,还不清楚方法)
测试安装WeChatSetup.exe
yeqiang@yeqiang-MS-7B23:~/Downloads/src/wine$ /usr/local/bin/wine64 /home/yeqiang/Downloads/WeChatSetup.exe
0074:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0074:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0118:err:environ:init_peb starting L"Z:\\home\\yeqiang\\Downloads\\WeChatSetup.exe" in experimental wow64 mode
wine: failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c0000135
无法启动程序,或者没有为指定文件关联应用程序。
ShellExecuteEx 失败: 内部错误。
cp WeChatSetup.exe ~/.wine/drive_c/
从win10虚拟机中靠背syswow64下的文件到wine虚拟空间
故障依旧。
windows10的dll不行?