如何使用 Wine 在 Linux 上安装 Aforge 图像处理实验室

如何使用 Wine 在 Linux 上安装 Aforge 图像处理实验室

我正在尝试在我的 Centos 上安装 Aforge 图像处理实验室。

我将我的 wine 配置为 32 位,例如:

WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg

我安装了 .NET 2.0 框架;

env WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks dotnet20

我还在~/.wine32/drive_c/Program\ Files/目录中安装了 .exe 文件

到目前为止,一切对我来说都很好。然而当我开始时;

wine iplab.exe

它给了我这样的错误并且它没有启动;

[mg@MgCentOS bin]$ wine iplab.exe 
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias -120, std (d/m/y): 8/11/2015, dlt (d/m/y): 29/03/2015

Unhandled Exception:
System.NotSupportedException: Can't get timezone name.
  at System.CurrentSystemTimeZone..ctor (Int64 lnow) [0x00000] in <filename unknown>:0 
  at System.TimeZone.get_CurrentTimeZone () [0x00000] in <filename unknown>:0 
  at System.DateTime.get_Now () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.TextBoxBase..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.TextBox..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ComboBox+ComboTextBox..ctor (System.Windows.Forms.ComboBox owner) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ComboBox/ComboTextBox:.ctor (System.Windows.Forms.ComboBox)
  at System.Windows.Forms.ComboBox.set_DropDownStyle (ComboBoxStyle value) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ComboBox..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ComboBox:.ctor ()
  at IPLab.HistogramWindow.InitializeComponent () [0x00000] in <filename unknown>:0 
  at IPLab.HistogramWindow..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) IPLab.HistogramWindow:.ctor ()
  at IPLab.MainForm..ctor (AutoOpenMode autoOpenMode, System.String autoOpenParam) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) IPLab.MainForm:.ctor (IPLab.MainForm/AutoOpenMode,string)
  at IPLab.MainForm.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NotSupportedException: Can't get timezone name.
  at System.CurrentSystemTimeZone..ctor (Int64 lnow) [0x00000] in <filename unknown>:0 
  at System.TimeZone.get_CurrentTimeZone () [0x00000] in <filename unknown>:0 
  at System.DateTime.get_Now () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.TextBoxBase..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.TextBox..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ComboBox+ComboTextBox..ctor (System.Windows.Forms.ComboBox owner) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ComboBox/ComboTextBox:.ctor (System.Windows.Forms.ComboBox)
  at System.Windows.Forms.ComboBox.set_DropDownStyle (ComboBoxStyle value) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ComboBox..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ComboBox:.ctor ()
  at IPLab.HistogramWindow.InitializeComponent () [0x00000] in <filename unknown>:0 
  at IPLab.HistogramWindow..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) IPLab.HistogramWindow:.ctor ()
  at IPLab.MainForm..ctor (AutoOpenMode autoOpenMode, System.String autoOpenParam) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) IPLab.MainForm:.ctor (IPLab.MainForm/AutoOpenMode,string)
  at IPLab.MainForm.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Windows.Forms.Form.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 
  at IPLab.MainForm.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 
  at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>:0 
[mg@MgCentOS bin]$ 

您能帮助我如何处理此错误并启动图像处理实验室应用程序吗?

答案1

PlayOnLinux是一个很好的图形前端wine(至少对我来说)更容易操作。

作为测试,我使用PlayOnLinux“安装未列出的程序”功能安装了图像处理实验室 2.8.0。该程序安装完美,第一次尝试就可以运行;我加载并调整了一些图像,一切似乎运行良好。我使用PlayOnLinux当前版本 4.2.9 进行了测试。

如果您没有 PlayOnLinux,您可以在以下位置获取 RPM:http://rpm.playonlinux.com/或其他版本https://www.playonlinux.com/en/download.html

在主屏幕上,选择Install,然后Install a non-listed program选择底角的选项。

相关内容