I'm trying to write a simple application that uses rsvg# on windows, using the mono 1.2.6_4 libraries gtk-sharp, glib-sharp, and rsvg-sharp.
I've set it all up in visual studio, the proper references are in place, and I even setup visual studio to copy librsvg-2-2.dll, librsvg-2.dll, and libglib-2.0.0-dll, but I'm still getting the error: Unable to load DLL 'rsvg-2': The specified module could not be found. (Exception from HRESULT: 0x8007007E) I've also tried running this from the mono command prompt and I get: This application has failed to start because libcroco-0.6.3.dll was not found. Unhandled Exception: System.DllNotFoundException: rsvg-2 at (wrapper managed-to-native) Rsvg.Pixbuf:rsvg_pixbuf_from_file(string,intptr&) at Rsvg.Pixbuf.FromFile (System.String file_name) [0x00000] at rsvg.Program.Main (System.String[] args) [0x00000] Any ideas on what would cause it to act like this? Here is the code: Gdk.Pixbuf buf1 = Rsvg.Pixbuf.FromFile(@"C:\parts\back01.svg"); Gdk.Pixbuf buf2 = Rsvg.Pixbuf.FromFile(@"C:\parts\head01.svg"); buf1.Composite(buf2, 0,0, 100, 100, 0, 0, 0, 0, Gdk.InterpType.Nearest, 0); buf2.Save("C:\test.jpg", "jpg"); Thanks, John
_______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list