[Mono-winforms-list] System.DllNotFoundException: gdiplus.dll

Brian Pickles brianh@bsquaredsen.co.uk
Wed, 16 Feb 2005 22:34:03 +0000


> Can anyone tell me what I haven't I done yet.
> 
> I made libgdiplus 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
> 
> 
Hi,

You also need to set your $LD_LIBRARY_PATH to include the directory
where libgdiplus.so is installed.

This is documented in the [Mono-winforms-list]archives but not in any of 
the installation guides.  Paul - Can you please add it to your install 
notes / guide.

Brian