一些基本信息:Ubuntu 16.04.1 LTS PlayOnLinux 安装:4.2.10-a~xenial~Noobslab.com 通过 PlayOnLinux 安装的 Wine 版本 - 1.85
我目前安装的 SketchUp 版本将于明年 1 月 1 日不再受 3D Warehouse for SketchUp 支持,因此我需要安装更新的版本。SketchUp 2017 的安装日志显示:
The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 5.2.2 {version}
Running checks for package 'Microsoft Windows', phase BuildList
Reading value 'CurrentVersion' of registry key 'HKLM\Software\Microsoft \Windows NT\CurrentVersion'
Read string value '5.2'
Setting value '5.2 {string}' for property 'OsCurrentVersion'
Reading value 'CurrentBuildNumber' of registry key 'HKLM\Software \Microsoft\Windows NT\CurrentVersion'
Read string value '3790'
Setting value '3790 {string}' for property 'OsCurrentBuildNumber'
The following properties have been set for package 'Microsoft Windows':
Property: [OsCurrentBuildNumber] = 3790 {string}
Property: [OsCurrentVersion] = 5.2 {string}
Running checks for command 'SketchUpPrerequisites64\MinimumWindowsVersion'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionNT' and value '6.1': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '6.1': true
Result of checks for command 'SketchUpPrerequisites64\MinimumWindowsVersion' is 'Fail'
'Microsoft Windows' RunCheck result: Fail
A prerequisite failed for Package "Microsoft Windows"
Package failed with message "Installation of SketchUp requires Windows 7 Service Pack 1 or later."
PlayOnLinux 日志显示:
[12/10/16 17:05:49] - Running wine-1.8.5 --version (Working directory : /home/chris/.PlayOnLinux/shortcuts)
wine-1.8.5
PlayOnLinux logfile
-------------------
Date: 12/10/16 17:05:49
> PlayOnLinux Version
4.2.10
> uname -a
Linux localhost 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> lsb_release -a
> wine --version
wine-1.8.5
> POL_WINEVERSION
1.8.5
> WINEPREFIX
/home/chris/.PlayOnLinux//wineprefix/SketchUp2017
> Distribution
Ubuntu 16.04.1 LTS
> glxinfo \| grep rendering
direct rendering: Yes
> glxinfo \| grep renderer
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa DRI Intel(R) Q45/Q43
> OpenGL libs (Direct rendering testing)
32bits direct rendering is enabled
64bits direct rendering is enabled
[12/10/16 17:06:25] - Running wine-1.8.5 cmd /c echo %ProgramFiles% (Working directory : /home/chris/.PlayOnLinux/shortcuts)
C:\Program Files (x86)
[12/10/16 17:06:58] - Running wine-1.8.5 /home/chris/Downloads /SketchUpMake-en-x64.exe (Working directory : /)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:advapi:EventRegister {5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x401123, 0x42d1f0, 0x42d208
fixme:advapi:EventSetInformation 2, 0x42a538, 43
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:process:SetProcessDEPPolicy (1): stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
任何帮助都将不胜感激。我想使用 SketchUp 设计一些使用 PVC 管的园艺项目。
答案1
我刚刚遇到了这个问题,努力解决它,但 winehq 上已经有解决方案,我想与未来的访问者分享。
严格按照 winehq 的步骤操作,为我解决了这个问题(其他类似的方法也导致了与 Service Pack 相同的问题):
$ export WINEARCH=win64
$ winetricks vcrun2013 vcrun2015 corefonts
$ winetricks win7
- Download .NET Framework 4.5.2 (offline version) and install it with the command:
$ wine start /unix NDP452-KB2901907-x86-x64-AllOS-ENU.exe
- Then run the actual SketchUp installer:
$ wine SketchUpMake-it-x64.exe (or the Pro version, either works)
- Follow the installation steps
- Run SketchUp (you can run it just fine from the .desktop created by WINE itself)
我猜这是winetricks win7
真正的解决方案,但老实说我不确定。它在我的 ubuntu 18(使用docker-wine
来自 wine v4.0 的环境scottyhardy
)上适用于 SketchUp 2017。祝你好运!
答案2
安装 Sketchup Make 2017 的简单方法
1. 如果你还没有 Wine,请安装它
dpkg --add-architecture i386
sudo apt update
sudo apt install wine
2. 确保 wine 文件夹/前缀设置为处理 64 位程序
导出 WINEARCH=win64
3. 安装 winetricks
sudo apt install winetricks
4. 启动 winetricks
单击“确定”绕过所有警告,然后
A)导航选择默认的wineprefix -> 安装Windows DLL或组件。 查看riched20然后单击“确定”。
b)导航选择默认的wineprefix -> 安装Windows DLL或组件。 查看dotnet452然后单击“确定”。
最后一步是安装 Microsoft 的 .NET Framework。Winetricks 将首先安装 dotnet40。这需要一些时间。多次单击“确定”以忽略所有警告并接受 Microsoft 许可条款,直到安装完成。
5. 下载 Sketchup Make 2017 免费版本
https://www.sketchup.com/download/all
6.再次打开 winetricks
导航选择默认的wineprefix -> 更改设置。 查看win7然后单击“确定”。
7. 在 winetricks 中,选择“运行 explorer”
导航到 Sketchup 安装程序的位置。双击进行安装。
您的 Ubuntu 菜单中应该会自动创建一个 Sketchup 启动器以供将来使用。