[Mono-list] How to create a simple graphic application with Mono

Yann Garcia yann.garcia@smartcom.com
Fri, 9 Jul 2004 14:47:59 +0200


Youpiiiiiiiiiii,

It's ok with gtk-sharp and not with gtk-sharp.dll
And my sample work's fine.

Thanks a lot. Next step: Try to build a more complete GUI application

Good week

Cheers,

Yann

-----Original Message-----
From: Francisco T. Martinez [mailto:martinf@mfconsulting.com]=20
Sent: Friday, July 09, 2004 4:36 PM
To: Ravindra Kumar
Cc: mono-list@lists.ximian.com; yann.garcia@smartcom.com
Subject: Re: RE : RE : [Mono-list] How to create a simple graphic
application with Mono

Ravindra Kumar wrote:

>Hello,
>Please try $mcs -pkg:gtk-sharp.dll, instead of mcs -r:gtk-sharp.dll.
> =20
>
$mcs -pkg:gtk-sharp
Without the .dll maybe?

Paco

>-Ravindra
>
> =20
>
>>>>"Yann Garcia" <yann.garcia@smartcom.com> 7/9/2004 5:30:16 PM >>>
>>>>       =20
>>>>
>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
>
> =20
>
>>>>"Yann Garcia" <yann.garcia@smartcom.com> 7/8/2004 9:16:14 PM >>>
>>>>       =20
>>>>
>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:
> =20
>
>>Hello,
>>
>>=20
>>
>>I'm novice in the project Mono. I already make running small
>>applications in 'console' mode.
>>
>>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.
> =20
>
>>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
>>
>no problema.
>
> =20
>
>>Cheers,
>>
>>=20
>>
>>Yann
>>
>>=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
>
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
> =20
>