[Gtk-sharp-list] Compile error

Philip Chapman pac1085@rochester.rr.com
Thu, 3 Apr 2003 15:52:42 -0500


--=.eMXQLe_pBx,UaO
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I think you need to reference System.Drawing assembley for 'Size'.

mcs ButtonApp.cs -r gtk-sharp.dll -r glib-sharp.dll -r System.Drawing

On Thu, 03 Apr 2003 14:38:26 -0500
"Alvaro A. Ramirez" <alramire@syr.edu> wrote:

> Since I upgraded to Mandrake 9.1, I have not been able to compile the
> button sample with mcs. I get the following error:
> 
> 
> [tuco@stella sample]$ mcs ButtonApp.cs -r /usr/local/lib/gtk-sharp.dll
> -r /usr/local/lib/glib-sharp.dll
> ButtonApp.cs(20) error CS0246: Cannot find type `Size'
> Compilation failed: 1 error(s), 0 warnings
> [tuco@stella sample]$
> 
> 
> These are the files i got in my lib:
> 
> /usr/local/lib/libgtksharpglue.so
> /usr/local/lib/libgtksharpglue.la
> /usr/local/lib/libgtksharpglue.a
> /usr/local/lib/glib-sharp.dll
> /usr/local/lib/pango-sharp.dll
> /usr/local/lib/atk-sharp.dll
> /usr/local/lib/gdk-sharp.dll
> /usr/local/lib/gtk-sharp.dll
> /usr/local/lib/glade-sharp.dll
> /usr/local/lib/art-sharp.dll
> /usr/local/lib/gnome-sharp.dll
> /usr/local/lib/gconf-sharp.dll
> /usr/local/lib/gconf-sharp-peditors.dll
> 
> Any ideas? Thanks
> 
> Alvaro
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

--=.eMXQLe_pBx,UaO
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+jJ8eCcjETDXW/2sRAiCbAJ9/Qf4sZ6z2CAtnrX16iG1HYw5uYACfTkBO
bG4/KgL04UVM75ih7mXAXkI=
=qj3c
-----END PGP SIGNATURE-----

--=.eMXQLe_pBx,UaO--