[Mono-osx] Unhandled Exception: System.DllNotFoundException: libgtk-x11-2.0.0.dylib

kangaroo grompf@sublimeintervention.com
Fri, 15 Apr 2005 15:59:57 -0400


Where did you get mono from?

Where did you get gtk-sharp from?

If you managed to install gtk-sharp; I assume you know enough about 
DYLD_LIBRARY_PATH to set it appropriately.

-kangaroo

On 15-Apr-05, at 3:44 PM, Andreas Stein wrote:

> Hi all,
>
> I'm working with mono on Mac OSX 10.3.8.
>
> After compiling the "helloworld" example with: mcs helloWorld.cs 
> -pkg:gtk-sharp successfull I try to start "helloworld.exe" with: mono 
> helloworld.exe and see this error-message:
>
> Unhandled Exception: System.DllNotFoundException: 
> libgtk-x11-2.0.0.dylib
> in <0x000d4> (wrapper managed-to-native) Gtk.Application:gtk_init 
> (int&,intptr&)
> in <0x00044> Gtk.Application:Init ()
> in <0x00018> Hello:Main ()
>
>
> Any ideas?!!
>
> Andreas
>
> my helloworld.cs:
> ------------------------------------------------
> using Gtk;
> using GtkSharp;
> using System;
>
> class Hello {
>
> 	static void Main()
> 	{
> 		Application.Init ();
>
> 		Window window = new Window ("helloworld");
> 		window.Show();
>
> 		Application.Run ();
>
> 	}
> }
> --------------------------------------------------
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
>
> !DSPAM:426019d6261035735221395!
>