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 <[EMAIL PROTECTED]>
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?
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list