[Mono-osx] System.DllNotFoundException: .../libgdiplus.dylib
Sergey Shandar
sergey.monoosx@comrades.id.au
Sat, 16 Apr 2005 18:31:41 +0930
This is a multi-part message in MIME format.
--------------090404090006030605080201
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
I tried to compile and execute few times a simple GUI example with the
MessageBox, but still have the error:
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for MessageBoxForm --->
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.TypeInitializationException:
An exception was thrown by the type initializer for
System.Drawing.GDIPlus ---> *System.DllNotFoundException:
/Library/Frameworks/Mono.framework/Versions/Current/lib/libgdiplus.dylib*
in <0x000d8> (wrapper managed-to-native)
System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
in <0x0011c> System.Drawing.GDIPlus:.cctor ()
I checked the file
*/Library/Frameworks/Mono.framework/Versions/Current/lib/libgdiplus.dylib.*
It exsists in this folder, 100%. What can I do to fix it?
--------------090404090006030605080201
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I tried to compile and execute few times a simple GUI example with the
MessageBox, but still have the error:<br>
<br>
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for MessageBoxForm --->
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.GDIPlus ---> <b>System.DllNotFoundException:
/Library/Frameworks/Mono.framework/Versions/Current/lib/libgdiplus.dylib</b><br>
in <0x000d8> (wrapper managed-to-native)
System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)<br>
in <0x0011c> System.Drawing.GDIPlus:.cctor ()<br>
<br>
I checked the file <b>/Library/Frameworks/Mono.framework/Versions/Current/lib/libgdiplus.dylib.</b>
It exsists in this folder, 100%. What can I do to fix it?
</body>
</html>
--------------090404090006030605080201--