[Gtk-sharp-list] Rsvg Help!

Mike Kestner mkestner at novell.com
Tue Sep 20 11:08:35 EDT 2005


On Tue, 2005-09-20 at 10:03 -0400, Dan Winship wrote:
> Luca Gervasi wrote:
> > I'm trying to compile a simple code that loads an .svg file.
> > I'm using Rsvg toolkit (svg-sharp-2.0 is correctly installed), but when 
> > i try to build it all, using
> > mcs -pkg:gtk-sharp -pkg:gdk-sharp -pkg:rsvg-sharp (or svg-sharp)
> > I get an error saying that PKG-CONFIG could not find the required dll.
> 
> If you are using gtk# 2.x, each of the package names should have "-2.0" 
> at the end. Eg, "-pkg:rsvg-sharp-2.0"

There is no gdk-sharp.pc, so your -pkg:gdk-sharp is probably failing.
-pkg:gtk-sharp will get all the references for glib/pango/atk/gdk/gtk.

-- 
Mike Kestner <mkestner at novell.com>



More information about the Gtk-sharp-list mailing list