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

Andreas Stein andi.stein@gmx.net
Fri, 15 Apr 2005 21:44:03 +0200


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 ();

	}
}
--------------------------------------------------