[Gtk-sharp-list] Cannot compile with gtk/glib-sharp
assembliesetc. (CS0006)
kyloe .
togetfiles at hotmail.com
Sat Dec 10 00:00:48 EST 2005
>Try using mcs -pkg:gtk-sharp-2.0 helloworld.cs
>That tells mcs to use pkg-config to get the dll references from
>gtk-sharp-2.0.pc.
Worked a mono GTK# treat, thanks.
I had unsuccessfully used the switch previously with:
mcs -pkg:gtk-sharp-2.0 helloworld.cs -r gtk-sharp.dll -r glib-sharp.dll
pffft... :)
>To use -r you have to provide a fully qualified path to the assembly.
>
>--
>Mike Kestner <mkestner at novell.com>
Interestingly, I found this reference switch to give the FQP, -lib:[]
mcs -lib:/usr/lib/mono/gtk-sharp-2.0/ helloworld.cs -r gtk-sharp.dll -r
glib-sharp.dll
Excellent, thanks MK.
However, monodevelop is left in the lurch. It needs this path/pkg fix to
fuctioin and compile without error. But, would this problem be relevant to
my systems environment variables settings and such?
More information about the Gtk-sharp-list
mailing list