[Mono-list] How to create a simple graphic application
with Mono
Francisco T. Martinez
martinf@mfconsulting.com
Fri, 09 Jul 2004 07:35:31 -0700
Ravindra Kumar wrote:
>Hello,
>Please try $mcs -pkg:gtk-sharp.dll, instead of mcs -r:gtk-sharp.dll.
>
>
$mcs -pkg:gtk-sharp
Without the .dll maybe?
Paco
>-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:
>
>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
>[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
>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
>error: Failed dependencies:
> libpixman >= 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 >= 0.1.1
>
>Thanks for your help,
>
>Cheers
>
>Yann
>
>-----Message d'origine-----
>De : Pedro Villaviencio [mailto:pvillavicencio@linuxcenter.cl]
>Envoyé : mercredi 7 juillet 2004 15:56
>À : yann.garcia@smartcom.com
>Objet : Re: [Mono-list] How to create a simple graphic application
>withMono
>
>On Tue, 2004-07-06 at 12:22, Yann Garcia wrote:
>
>
>>Hello,
>>
>>
>>
>>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.
>>
>>
>>
>
>with mono is really easy do that.
>
>
>>It seams I have to use GTK#, Wine*, but I don't know how to use them.
>>
>>
>>
>
>so i can send you a little example a 'hello world'
>
>
>>
>>
>>Thank you for your help,
>>
>>
>>
>>
>>
>no problema.
>
>
>
>>Cheers,
>>
>>
>>
>>Yann
>>
>>
>>
>>
>>
>>
>
>_______________________________________________
>Mono-list maillist - Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>_______________________________________________
>Mono-list maillist - Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>_______________________________________________
>Mono-list maillist - Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>_______________________________________________
>Mono-list maillist - Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>