[Gtk-sharp-list] Re: [Mono-devel-list] Mono on Windows HOWTO

Paulo Pires paulo.pires@vodafone.pt
Mon, 25 Oct 2004 19:07:02 +0100


What about install the most recent mono-combined installer?!
The dll's for GTK# and others will be on your
$MONO_INSTALL_PATH/lib/mono/gtk-sharp

No need for dll gac registration, once the installer takes care of it
all.

bye

Seg, 2004-10-25 =E0s 10:11 -0400, Brian Rose escreveu:
> Brian Rose wrote:
> >=20
> > I created the source program (listed previously) because it seemed simp=
le=20
> > enough (not too many GUI "Hello World" apps out there). It is based on=20
> > GTK#, which I understand is installed with the Windows installer. When =
I=20
> > compile it I get the following error...
> >=20
> >   Mono version 1.0.1 Build 1
> >   Prepending 'C:\PROGRA~1\MONO-1~1.2\bin' to PATH
> >=20
> >   C:\cygwin\home\brose\bmp2disp>mcs gui.cs
> >   gui.cs(20) error CS0246: Cannot find type `DeleteEventArgs'
> >   gui.cs(4) error CS0246: The namespace `Gtk' can not be found (missing
> >   assembly reference?)
> >     Try using -r:gtk-sharp
> >   gui.cs(5) error CS0246: The namespace `GtkSharp' can not be found
> >   (missing assembly reference?)
> >     Try using -r:gtk-sharp
> >   gui.cs(7) error CS0246: The namespace `System.Drawing' can not be fou=
nd
> >     (missing assembly reference?)
> >     Try using -r:System.Drawing
> >   Compilation failed: 4 error(s), 0 warnings
> >=20
> > So I try it with the references...
> >=20
> >   C:\cygwin\home\brose\bmp2disp>mcs -r:gtk-sharp -r:System.Drawing gui.=
cs
> >   error CS0006: Cannot find assembly `gtk-sharp'
> >   Log:
> >=20
> >   Compilation failed: 1 error(s), 0 warnings
> >=20
> > So how do I find the gtk-sharp assembly or see what assemblies are=20
> > installed?
> >=20
>=20
> I tried installing the GTK library with the Win32 installer from=20
> http://gtk-sharp.sourceforge.net/index.html . I still get the same error.=
=20
> How do I find out which assemblies are installed and where they are?
>=20
> I assume that I can use the -lib:PATH to add the library path on the=20
> command line, but how do I find out where this installer put the assembly=
?=20
> Is it a .dll a .lib?
>=20
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list