[Mono-winforms-list] System.DllNotFoundException: gdiplus.dll
Bill Medland
billmedland@mercuryspeed.com
Wed, 16 Feb 2005 14:32:45 -0800
On February 16, 2005 02:17 pm, Dan Maltes wrote:
> Sounds to me like your WINE work is getting in the way of things? Just a
> guess.
I thought System.Windows.Forms was separated from Wine now. How do I decouple
them, or is it impossible to run Mono and Wine on the same user
>
> -Dan
>
> -----Original Message-----
> From: mono-winforms-list-admin@lists.ximian.com
> [mailto:mono-winforms-list-admin@lists.ximian.com] On Behalf Of Bill
> Medland Sent: Wednesday, February 16, 2005 5:11 PM
> To: mono-winforms-list@lists.ximian.com
> Subject: [Mono-winforms-list] System.DllNotFoundException: gdiplus.dll
>
> 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.GdiplusStartupOu
>t put&)
> 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
>
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
>
>
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list