[Mono-winforms-list] System.DllNotFoundException: gdiplus.dll
Bill Medland
billmedland@mercuryspeed.com
Wed, 16 Feb 2005 14:10:40 -0800
Can anyone tell me what I haven't I done yet.
I have at last managed to build from the SVN (I think) following Paul's notes
(with the obvious corrections).
I made libgdiplus and installed it
(There may be a slight conflict in that I also had cairo/libpixman rpms
installed but I've removed the now)
I made mono and installed it
I compiled a simple example using System.Windows.Forms
I tried to run it.
I got the following error:
Mono System.Windows.Forms Assembly [Revision: 40575; built: 2005/1/13 1:47:46]
Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for System.Windows.Forms.XplatUI --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
gdiplus.dll
in <0x0004a> (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
in <0x000bb> System.Drawing.GDIPlus:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) 0x8081d5c
in <0x0000c> System.Drawing.Graphics:FromHdcInternal (intptr)
in <0x0006f> System.Windows.Forms.XplatUIX11:SetDisplay (intptr)
in <0x0008b> System.Windows.Forms.XplatUIX11:.ctor ()
in <0x00043> System.Windows.Forms.XplatUIX11:GetInstance ()
in <0x00059> System.Windows.Forms.XplatUI:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) 0x8081d5c
in <0x00041> System.Windows.Forms.Form:get_CreateParams ()
in <0x0020a> System.Windows.Forms.Control:.ctor ()
in <0x0000d> System.Windows.Forms.ScrollableControl:.ctor ()
in <0x0000c> System.Windows.Forms.ContainerControl:.ctor ()
in <0x00010> System.Windows.Forms.Form:.ctor ()
in <0x00019> HelloWin.MyForm:.ctor ()
in <0x00021> (wrapper remoting-invoke-with-check) HelloWin.MyForm:.ctor ()
in <0x0001a> HelloWin.MyForm:Main ()
--
Bill Medland
mailto:billmedland@mercuryspeed.com
http://webhome.idirect.com/~kbmed