Hello all,
I'm trying to see if I can get a folding monitor, http://code.google.com/p/hfm-net/ working in Wine. I've installed the latest wine, 1.1.20, and the latest mono for windows 2.4. It seems however that either mono or Wine, I think wine, is not seeing the library file from gtk. However it is in my lib folder. Does anyone have any idea where wine is looking for the lib to be at? This is on a Debian "testing" (Squeeze I guess, but I keep my repos under the "testing" and no name, I use the wine "sid" repo) install.
shelnutt@K-Server:~/Downloads/HFM Release 0.1.1.10$ wine HFM.exe
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.MimeIconEngine ---> System.DllNotFoundException: libgdk-x11-2.0.so.0 at (wrapper managed-to-native) System.Windows.Forms.GnomeUtil:gdk_init_check (intptr,intptr) at System.Windows.Forms.GnomeUtil.Init () [0x00000] at System.Windows.Forms.GnomeUtil.GetIcon (System.String icon, Int32 size) [0x00000] at System.Windows.Forms.GnomeHandler.AddGnomeIcon (System.String internal_mime_type, System.String name) [0x00000] at System.Windows.Forms.GnomeHandler.CreateUIIcons () [0x00000] at System.Windows.Forms.GnomeHandler.Start () [0x00000] at System.Windows.Forms.MimeIconEngine..cctor () [0x00000] --- End of inner exception stack trace --- at System.Windows.Forms.WinFileSystem..ctor () [0x00000] at System.Windows.Forms.MWFVFS..ctor () [0x00000] at System.Windows.Forms.FileDialog..ctor () [0x00000] at System.Windows.Forms.OpenFileDialog..ctor () [0x00000] at (wrapper remoting-invoke-with-check) System.Windows.Forms.OpenFileDialog:.ctor () at HFM.Forms.frmMain.InitializeComponent () [0x00000] at HFM.Forms.frmMain..ctor () [0x00000] at (wrapper remoting-invoke-with-check) HFM.Forms.frmMain:.ctor () at HFM.Program.Main (System.String[] argv) [0x00000]
shelnutt@K-Server:~/Downloads/HFM Release 0.1.1.10$ locate libgdk-x11-2.0.so.0 /home/shelnutt/opt/gps/lib/libgdk-x11-2.0.so.0 /usr/lib/libgdk-x11-2.0.so.0 /usr/lib/libgdk-x11-2.0.so.0.1600.1
Thanks,
Seth Shelnutt
On Fri, May 1, 2009 at 1:36 AM, Seth Shelnutt shelnutt2@gmail.com wrote:
Hello all,
I'm trying to see if I can get a folding monitor, http://code.google.com/p/hfm-net/ working in Wine. I've installed the latest wine, 1.1.20, and the latest mono for windows 2.4. It seems however that either mono or Wine, I think wine, is not seeing the library file from gtk. However it is in my lib folder. Does anyone have any idea where wine is looking for the lib to be at? This is on a Debian "testing" (Squeeze I guess, but I keep my repos under the "testing" and no name, I use the wine "sid" repo) install.
shelnutt@K-Server:~/Downloads/HFM Release 0.1.1.10$ wine HFM.exe
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.MimeIconEngine ---> System.DllNotFoundException: libgdk-x11-2.0.so.0 at (wrapper managed-to-native) System.Windows.Forms.GnomeUtil:gdk_init_check (intptr,intptr) at System.Windows.Forms.GnomeUtil.Init () [0x00000] at System.Windows.Forms.GnomeUtil.GetIcon (System.String icon, Int32 size) [0x00000] at System.Windows.Forms.GnomeHandler.AddGnomeIcon (System.String internal_mime_type, System.String name) [0x00000] at System.Windows.Forms.GnomeHandler.CreateUIIcons () [0x00000] at System.Windows.Forms.GnomeHandler.Start () [0x00000] at System.Windows.Forms.MimeIconEngine..cctor () [0x00000] --- End of inner exception stack trace --- at System.Windows.Forms.WinFileSystem..ctor () [0x00000] at System.Windows.Forms.MWFVFS..ctor () [0x00000] at System.Windows.Forms.FileDialog..ctor () [0x00000] at System.Windows.Forms.OpenFileDialog..ctor () [0x00000] at (wrapper remoting-invoke-with-check) System.Windows.Forms.OpenFileDialog:.ctor () at HFM.Forms.frmMain.InitializeComponent () [0x00000] at HFM.Forms.frmMain..ctor () [0x00000] at (wrapper remoting-invoke-with-check) HFM.Forms.frmMain:.ctor () at HFM.Program.Main (System.String[] argv) [0x00000]
shelnutt@K-Server:~/Downloads/HFM Release 0.1.1.10$ locate libgdk-x11-2.0.so.0 /home/shelnutt/opt/gps/lib/libgdk-x11-2.0.so.0 /usr/lib/libgdk-x11-2.0.so.0 /usr/lib/libgdk-x11-2.0.so.0.1600.1
Thanks,
Seth Shelnutt
When using win32 mono it should be using win32 gtk / gdk. I believe those dlls have about the same names as the linux ones. Make sure that win32 moni is really used. Second win32 mono only works for a limited number of apps for most things you need ms .net. I would suggest to try it using native mono first. Since the source is also around it would also be easy to locate mono bugs (hopefully the app doesn't make any win32 calls).
Roderick