[Mono-list] Mono on Win32
John M. Anderson
sontek at gmail.com
Fri Dec 14 17:44:43 EST 2007
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
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
Unhandled Exception: System.DllNotFoundException: rsvg-2
at (wrapper managed-to-native)
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,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list