mail-archives/mono-osx/2011-July/004412.html

129 строки
6.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] System.Drawing.Image.FromFile - System.DllNotFoundException: gdiplus.dll
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20System.Drawing.Image.FromFile%20-%0A%20System.DllNotFoundException%3A%20gdiplus.dll&In-Reply-To=BANLkTi%3Dft-AAUf_vd5w6BQYimEBPvUPGng%40mail.gmail.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004411.html">
<LINK REL="Next" HREF="004410.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] System.Drawing.Image.FromFile - System.DllNotFoundException: gdiplus.dll</H1>
<B>mc2008</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20System.Drawing.Image.FromFile%20-%0A%20System.DllNotFoundException%3A%20gdiplus.dll&In-Reply-To=BANLkTi%3Dft-AAUf_vd5w6BQYimEBPvUPGng%40mail.gmail.com"
TITLE="[Mono-osx] System.Drawing.Image.FromFile - System.DllNotFoundException: gdiplus.dll">malumbo.chipeta at satmap.com
</A><BR>
<I>Fri Jul 1 12:17:22 EDT 2011</I>
<P><UL>
<LI>Previous message: <A HREF="004411.html">[Mono-osx] System.Drawing.Image.FromFile - System.DllNotFoundException: gdiplus.dll
</A></li>
<LI>Next message: <A HREF="004410.html">[Mono-osx] Your email requires verification verify#8GLf3RjI_DDJuoG1xjxIsCdOn9ow7tO9
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4412">[ date ]</a>
<a href="thread.html#4412">[ thread ]</a>
<a href="subject.html#4412">[ subject ]</a>
<a href="author.html#4412">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi Duane,
I am using the MonoMac bundling process (Project-&gt;Create Mac Installer-&gt;Include Mono in application bundle-&gt;Don&#8217;t link assemblies-&gt;Create Package).
Here are the relevant version numbers:
MonoMac - 1.0
Mono - 2.10.2
MonoDevelop - 2.4.2
Mac OS X - 10.6.8.
Kind regards,
Malumbo
From: Duane Wandless [via Mono] [mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">ml-node+3638611-294075271-249233 at n4.nabble.com</A>]
Sent: 01 July 2011 17:06
To: Malumbo Chipeta
Subject: Re: System.Drawing.Image.FromFile - System.DllNotFoundException: gdiplus.dll
What &quot;bundling&quot; process did you use? And what version of Mono are you using?
On Fri, Jul 1, 2011 at 12:00 PM, mc2008 &lt;[hidden email]&lt;/user/SendEmail.jtp?type=node&amp;node=3638611&amp;i=0&gt;&gt; wrote:
Hi,
I have an app which uses System.Drawing.Image.FromFile. The method works
without any problems when debugging the app through MonoDevelop. However,
when the app (bundled with Mono) is running on a Mac which doesn't have Mono
installed, System.Drawing.Image.FromFile throws an exception:
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.GDIPlus ---&gt; System.DllNotFoundException:
gdiplus.dll
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&amp;,System.Drawing.GdiplusStartupInput&amp;,System.Drawing.GdiplusStartupOutput&amp;)
at System.Drawing.GDIPlus..cctor () [0x00000] in &lt;filename unknown&gt;:0
--- End of inner exception stack trace ---
at System.Drawing.Image.FromFile (System.String filename, Boolean
useEmbeddedColorManagement) [0x00000] in &lt;filename unknown&gt;:0
at System.Drawing.Image.FromFile (System.String filename) [0x00000] in
&lt;filename unknown&gt;:0
Has anyone else encountered this error? If it's occurring because the
bundling process didn't include gdiplus.dll, do you know where I can find
this DLL?
I would be most grateful to receive your suggestions.
Many thanks.
--
View this message in context: <A HREF="http://mono.1490590.n4.nabble.com/System-Drawing-Image-FromFile-System-DllNotFoundException-gdiplus-dll-tp3638591p3638591.html">http://mono.1490590.n4.nabble.com/System-Drawing-Image-FromFile-System-DllNotFoundException-gdiplus-dll-tp3638591p3638591.html</A>
Sent from the Mono - OSX mailing list archive at Nabble.com.
_______________________________________________
Mono-osx mailing list
[hidden email]&lt;/user/SendEmail.jtp?type=node&amp;node=3638611&amp;i=1&gt;
<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
_______________________________________________
Mono-osx mailing list
[hidden email]&lt;/user/SendEmail.jtp?type=node&amp;node=3638611&amp;i=2&gt;
<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
________________________________
If you reply to this email, your message will be added to the discussion below:
<A HREF="http://mono.1490590.n4.nabble.com/System-Drawing-Image-FromFile-System-DllNotFoundException-gdiplus-dll-tp3638591p3638611.html">http://mono.1490590.n4.nabble.com/System-Drawing-Image-FromFile-System-DllNotFoundException-gdiplus-dll-tp3638591p3638611.html</A>
To unsubscribe from System.Drawing.Image.FromFile - System.DllNotFoundException: gdiplus.dll, click here&lt;<A HREF="http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&amp;node=3638591&amp;code=bWFsdW1iby5jaGlwZXRhQHNhdG1hcC5jb218MzYzODU5MXwyMDE5MjgzMzA0">http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&amp;node=3638591&amp;code=bWFsdW1iby5jaGlwZXRhQHNhdG1hcC5jb218MzYzODU5MXwyMDE5MjgzMzA0</A>&gt;.
--
View this message in context: <A HREF="http://mono.1490590.n4.nabble.com/System-Drawing-Image-FromFile-System-DllNotFoundException-gdiplus-dll-tp3638591p3638649.html">http://mono.1490590.n4.nabble.com/System-Drawing-Image-FromFile-System-DllNotFoundException-gdiplus-dll-tp3638591p3638649.html</A>
Sent from the Mono - OSX mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20110701/3add72c9/attachment.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20110701/3add72c9/attachment.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004411.html">[Mono-osx] System.Drawing.Image.FromFile - System.DllNotFoundException: gdiplus.dll
</A></li>
<LI>Next message: <A HREF="004410.html">[Mono-osx] Your email requires verification verify#8GLf3RjI_DDJuoG1xjxIsCdOn9ow7tO9
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4412">[ date ]</a>
<a href="thread.html#4412">[ thread ]</a>
<a href="subject.html#4412">[ subject ]</a>
<a href="author.html#4412">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>