Re: [OBORONA-SPAM] [Mono-list] gtk# apps don't run
Hello Igor, Tuesday, July 6, 2004, 7:37:52 PM, you wrote: IA Hi, IA I have a clean install on Fedora Core 2 from mono-project.org, IA nevertheless I get things like IA Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll IA in 0x00053 (wrapper managed-to-native) Gtk.Application:gtk_init IA (int,intptr)in 0x00038 Gtk.Application:Init () IA in 0x00019 GladeSamples.GladeTest:.ctor (string[]) IA in 0x00020 GladeSamples.GladeTest:Main (string[]) IA Is is repairable? You should probably add some dll mappings to your Mono configuration file (it can be found in {Mono-installationpath}/etc/mono/config). I had the same problem a while ago and I had to change my config to the following (you can have a different versions on your system): configuration dllmap dll=cygwin1.dll target=libc.so.6 / dllmap dll=libc target=libc.so.6 / dllmap dll=libintl target=libc.so.6 / dllmap dll=libxslt.dll target=libxslt.so / dllmap dll=libmySQL.dll target=libmysqlclient.so / dllmap dll=odbc32.dll target=libodbc.so / dllmap dll=oci target=clntsh / dllmap dll=db2cli target=libdb2_36.so/ dllmap dll=libglib-2.0-0.dll target=libglib-2.0.so.0/ dllmap dll=libgobject-2.0-0.dll target=libgobject-2.0.so.0/ dllmap dll=libatk-1.0-0.dll target=libatk-1.0.so.0/ dllmap dll=libgtk-win32-2.0-0.dll target=libgtk-x11-2.0.so.0/ dllmap dll=libgdk-win32-2.0-0.dll target=libgdk-x11-2.0.so.0/ dllmap dll=libglade-2.0-0.dll target=libglade-2.0.so.0/ dllmap dll=libgdk_pixbuf-2.0-0.dll target=libgdk_pixbuf-2.0.so/ /configuration Also, you must add to your LD_LIBRARY_PATH environment variable the following path (change it in your .bashrc file): export LD_LIBRARY_PATH=/yourPathToGtk#Instal/lib:$LD_LIBRARY_PATH Best regards, Vadim B. Guzev http://u.pereslavl.ru/~vadim/MCSharp/ ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] gtk# apps don't run
Thanks all. It was obviously a problem with /etc/mono/config - all working now Igor Anikeev wrote: Hi, I have a clean install on Fedora Core 2 from mono-project.org, nevertheless I get things like Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll in 0x00053 (wrapper managed-to-native) Gtk.Application:gtk_init (int,intptr)in 0x00038 Gtk.Application:Init () in 0x00019 GladeSamples.GladeTest:.ctor (string[]) in 0x00020 GladeSamples.GladeTest:Main (string[]) Is is repairable? -- Best regards, Igor Anikeev jabber://[EMAIL PROTECTED] ICQ #312483023 ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] gtk# apps don't run
Hi, I have a clean install on Fedora Core 2 from mono-project.org, nevertheless I get things like Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll in 0x00053 (wrapper managed-to-native) Gtk.Application:gtk_init (int,intptr)in 0x00038 Gtk.Application:Init () in 0x00019 GladeSamples.GladeTest:.ctor (string[]) in 0x00020 GladeSamples.GladeTest:Main (string[]) Is is repairable? -- Best regards, Igor Anikeev jabber://[EMAIL PROTECTED] ICQ #312483023 ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] gtk# apps don't run
Hi Igor, Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll in 0x00053 (wrapper managed-to-native) Gtk.Application:gtk_init (int,intptr)in 0x00038 Gtk.Application:Init () in 0x00019 GladeSamples.GladeTest:.ctor (string[]) in 0x00020 GladeSamples.GladeTest:Main (string[]) Is is repairable? I can't say I've come across this problem. Any chance of emailing me a simple bit of source to highlight the problem? TTFN Paul -- If I face my God tomorrow, I can tell Him I am innocent. I've never harmed anyone. I have cheated no one. I have deceived no one. I have hurt no one. Except myself. And that He will forgive me. - Hans Holzel signature.asc Description: This is a digitally signed message part
Re: [Mono-list] gtk# apps don't run
How did you install Mono ? Yum ? Look at your /etc/mono/config for an entry about that dll and let us know what it looks like. Erik On Jul 6, 2004, at 11:37 AM, Igor Anikeev wrote: Hi, I have a clean install on Fedora Core 2 from mono-project.org, nevertheless I get things like Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll in 0x00053 (wrapper managed-to-native) Gtk.Application:gtk_init (int,intptr)in 0x00038 Gtk.Application:Init () in 0x00019 GladeSamples.GladeTest:.ctor (string[]) in 0x00020 GladeSamples.GladeTest:Main (string[]) Is is repairable? -- Best regards, Igor Anikeev jabber://[EMAIL PROTECTED] ICQ #312483023 ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list