[MonoDevelop] glade

Gennadiy Donchyts don at env.com.ua
Mon Nov 21 19:06:05 EST 2005


 I was also fighting with it :), maybe this will help (I'm not sure it is is
recommended soution), another wasy is to put it into configuration file of
the program:

*on UNIX add the next dll mappings to /etc/mono/config:

<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="msvcrt" target="libc.so.6"/>
   <dllmap dll="MonoPosixHelper" target="libMonoPosixHelper.so"/>
   <dllmap dll="sqlite" target="libsqlite.so.0"/>
   <dllmap dll="sqlite3" target="libsqlite3.so.0"/>
   <dllmap dll="libX11" target="libX11.so.6"/>
   <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so
<http://libglib-2.0.so/>" />
   <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so
<http://libgobject-2.0.so/>" />
   <dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0.so
<http://libgthread-2.0.so/>" />
   <dllmap dll="libpango-1.0-0.dll" target="libpango-1.0.so
<http://libpango-1.0.so/>" />
   <dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so
<http://libatk-1.0.so/>" />
   <dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so
<http://libgdk-x11-2.0.so/>" />
   <dllmap dll="libgdk_pixbuf-2.0-0.dll" target="libgdk_pixbuf-2.0.so
<http://2.0.so/>" />
   <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so
<http://libgtk-x11-2.0.so/>" />
   <dllmap dll="libglade-2.0-0.dll" target="libglade-2.0.so.0" />
   <dllmap dll="gdiplus.dll" target="libgdiplus.so.0" />
   <dllmap dll="gtkhtml-3.0" target="libgtkhtml-3.0.so.2" />
</configuration>

  --Gena


 On 11/22/05, Anton Andreev <Anton.Andreev at fmi.uni-sofia.bg> wrote:
>
>
> Hi,
>
> I am loosing my night sleep trying to make a simple Glade example work.
> The Glade template in MonoDevelop does not work. I noticed that you have
> to delete the glade-sharp and gtk-sharp refrences and add them manually
> to compile. OK, but you can compile only with versions 2.0. And then it
> comes:
>
> Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll
> in (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&)
> in <0x00038> Gtk.Application:Init ()
> in [0x00006] (at /root/gl2/Main.cs:15) GladeApp:.ctor (System.String[]
> args)
> in [0x00001] (at /root/gl2/Main.cs:11) GladeApp:Main ( System.String[]
> args)
>
> There is something wrong with versions, but I can not figure out what
> exactly.
>
> Please help.
>
> Fedora Core 4 x86_64 running x86_64 Mono
>
> Cheers,
> Anton Andreev
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20051122/50f3f942/attachment-0001.html


More information about the Monodevelop-list mailing list