[Mono-list] gtk#

Francisco T. Martinez martinf@mfconsulting.com
Wed, 07 Jul 2004 10:46:51 -0500


PFJ wrote:

See comments in-line:

>Hi,
>
>I'm testing the code in the Sams "Mono Kickstart" book for the ACCU
>review and have stumbled on a problem.
>
>When I try to compile the gtk# code, mcs throws out the error
>
>cannot find assembley gtk-sharp
>
>libgtksharp (and family) is in /usr/lib. I've run /sbin/ldconfig as
>well, but get the same. There doesn't seem to be an entry for gtk-sharp
>though in /etc/mono/config - if there is one in there, what should it
>be?
>
>Am I using the correct command line of 
>
>mcs <filename> -r gtk-sharp -r System.Drawing?
>
>  
>
Try this:

mcs <filename> -pkg:gtk-sharp -r:System.Drawing

>Using /r: makes no difference.
>
>TTFN
>
>Paul
>  
>
Paco