[Mono-list] How to create a simple graphic
application with Mono
Ravindra Kumar
rkumar@novell.com
Fri, 09 Jul 2004 06:25:20 -0600
Hello,
Please try $mcs -pkg:gtk-sharp.dll, instead of mcs -r:gtk-sharp.dll.
-Ravindra
>>> "Yann Garcia" <yann.garcia@smartcom.com> 7/9/2004 5:30:16 PM >>>
Hi
Thanks, now it's ok.
-
I add these paths /usr/lib/mono/gtk-sharp:/usr/lib/mono/gecko-sharp in
LD_LIBRARY_PATH when I try to build the mono.cs sample sent by Pedro
Villaviencio (mcs -r:gtk-sharp.dll HelloWordUI.cs -o
../bin/HelloWordUI.exe)
I have this error:
[ygarcia@hotspot src]$ mcs -r:gtk-sharp.dll HelloWordUI.cs -o
../bin/HelloWordUI.exe
error CS0006: Cannot find assembly `gtk-sharp.dll'
Log:=20
Compilation failed: 1 error(s), 0 warnings
I found an email that explain to set the variable MONO_PATH to
/usr/lib/mono/gtk-sharp:/usr/lib/mono/gecko-sharp but it doesn't solve
my problem.
The installed gtk package is: gtk-sharp-1.0-1.ximian.6.0
Thanks for your help,
Cheers,
Yann
-----Original Message-----
From: mono-list-admin@lists.ximian.com=20
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Ravindra Kumar
Sent: Friday, July 09, 2004 7:06 AM
To: mono-list@lists.ximian.com; yann.garcia@smartcom.com=20
Subject: Re: RE : [Mono-list] How to create a simple graphicapplication
with Mono
Hello,
I think there is some packaging problem. Either you file a bug in
bugzilla
for the packages or you can build libpixman yourself. Pixman sources
can be obtained from cairo cvs, http://www.cairographics.org .
-Ravindra
>>> "Yann Garcia" <yann.garcia@smartcom.com> 7/8/2004 9:16:14 PM >>>
Hi,
Thank you for your help.
I have another problem: I try to install cairo-0.1.23 package (from
mono.zip for RedHat 9 Intel). It failed on dependencies:
[root@hotspot mono]# rpm -i cairo-0.1.23-2.ximian.6.1.i386.rpm=20
error: Failed dependencies:
libpixman >=3D 0.1.1 is needed by cairo-0.1.23-2.ximian.6.1
I do not find libpixman v0.1.1 on RPM search web site for redhat. The
latest version I found is libpixman-0.1.0-1.ximian.6.2
Anyone knows where to find a version of libpixman >=3D 0.1.1
Thanks for your help,
Cheers
Yann
-----Message d'origine-----
De : Pedro Villaviencio [mailto:pvillavicencio@linuxcenter.cl]=20
Envoy=E9 : mercredi 7 juillet 2004 15:56
=C0 : yann.garcia@smartcom.com=20
Objet : Re: [Mono-list] How to create a simple graphic application
withMono
On Tue, 2004-07-06 at 12:22, Yann Garcia wrote:
> Hello,
>=20
> =20
>=20
> I'm novice in the project Mono. I already make running small
> applications in 'console' mode.
>=20
> Now, I hope to create a 'Hello Word' GUI application (a form with a
> label and a button for instance)? I don't understand how to do this.
>=20
with mono is really easy do that.
> It seams I have to use GTK#, Wine*, but I don't know how to use them.
>=20
so i can send you a little example a 'hello world'
> =20
>=20
> Thank you for your help,
>=20
> =20
>=20
no problema.
> Cheers,
>=20
> =20
>=20
> Yann
>=20
> =20
>=20
>=20
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com=20
http://lists.ximian.com/mailman/listinfo/mono-list=20
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com=20
http://lists.ximian.com/mailman/listinfo/mono-list=20
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com=20
http://lists.ximian.com/mailman/listinfo/mono-list