[Gtk-sharp-list] Newbie: not working

Igor Anikeev insider@t-k.ru
Tue, 06 Jul 2004 08:46:58 +0400


Hi all,

What'swrong with my gtk# installation?

Installed Mono from the official Novell repository on FC2.

Compiling the following:

using Gtk;
using GtkSharp;
using System;
 


class Hello {
 


        static void Main()
        {
                Application.Init ();
 


                Window window = new Window ("helloworld");
                window.Show();
 


                Application.Run ();
 


        }
}


then do:

mcs -r gtk-sharp hello.cs

and get:

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 <0x0000e> Hello:Main ()

I get the same error with monodoc. Is there a solution?

-- 
Best regards,
Igor Anikeev

jabber://unicursal@jabber.org
ICQ #312483023