mono BR: libgdiplus-devel
Tomasz Pala
gotar at polanet.pl
Sun Sep 17 23:43:41 CEST 2006
When build w/o libgdiplus headers System.Drawing searches for
gdiplus.ddl instead of libgdiplus. Example from autopano:
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] --- End of inner exception stack trace ---
in (unmanaged) 0x8099136
at System.Drawing.Bitmap..ctor (string,bool) <0x00040>
at System.Drawing.Bitmap..ctor (string) <0x0000f>
at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap..ctor (string) <0x00029>
at DisplayImage..ctor (string) <0x00026>
at Autopanog.GenerateKeypointForImage (Gtk.TreeModel,Gtk.TreePath,Gtk.TreeIter) <0x000ab>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_bool_TreeModel_TreePath_TreeIter (Gtk.TreeModel,Gtk.TreePath,Gtk.TreeIter) <0x00080>
at GtkSharp.TreeModelForeachFuncWrapper.NativeCallback (intptr,intptr,Gtk.TreeIter&,intptr) <0x00108>
at (wrapper native-to-managed) GtkSharp.TreeModelForeachFuncWrapper.NativeCallback (intptr,intptr,Gtk.TreeIter&,intptr) <0x00042>
in (unmanaged) 0xb701284c
at (wrapper managed-to-native) Gtk.TreeStore.gtk_tree_model_foreach (intptr,GtkSharp.TreeModelForeachFuncNative,intptr) <0x00004>
at Gtk.TreeStore.Foreach (Gtk.TreeModelForeachFunc) <0x00047>
at Autopanog.OnComputeClicked (object,System.EventArgs) <0x003d7>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object_EventArgs (object,System.EventArgs) <0x00041>
at GtkSharp.voidObjectSignal.voidObjectCallback (intptr,int) <0x000c1>
at (wrapper native-to-managed) GtkSharp.voidObjectSignal.voidObjectCallback (intptr,int) <0x00035>
in (unmanaged) 0xb6c2f1a8
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
at Gtk.Application.Run () <0x00007>
at Autopanog.Main (string[]) <0x00326>
~: rpm -qa mono\* autopano\* libgdi\* | sort
autopano-sift-2.4-2
libgdiplus-1.1.17-1
libgdiplus-devel-1.1.17-1
mono-1.1.17-1
mono-devel-1.1.17-1
--
Tom Pala <gotar at pld-linux.org> http://vfmg.sourceforge.net/
http://tccs.sourceforge.net/
More information about the pld-devel-en
mailing list