You seem to be missing the package libgdiplus. I'm not sure what the Fedora
package is called, but try something like 'yum install libgdiplus' (if that
is the correct syntax for yum).

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of landon
kelsey
Sent: vrijdag 21 december 2007 1:33
To: Jonathan Pobst
Cc: [email protected]
Subject: Re: [Mono-winforms-list] this worked great under Fedora 7...error
message under Fedora 8


thanks...here it is: (zero compile errors....plenty warnings due to unused
variables)

I suspect the yum procedure does not completely update everything!



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
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOut
put&)
  at System.Drawing.GDIPlus..cctor () [0x0006c] in
/builddir/build/BUILD/mono-1.2.5.1/mcs/class/System.Drawing/System.Drawing/g
dipFunctions.cs:107 --- End of inner exception stack trace ---

  at  
  at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in
/builddir/build/BUILD/mono-1.2.5.1/mcs/class/System.Drawing/System.Drawing/G
raphics.cs:1685 
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle)
[0x0006a] in
/builddir/build/BUILD/mono-1.2.5.1/mcs/class/Managed.Windows.Forms/System.Wi
ndows.Forms/XplatUIX11.cs:418 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00032] in
/builddir/build/BUILD/mono-1.2.5.1/mcs/class/Managed.Windows.Forms/System.Wi
ndows.Forms/XplatUIX11.cs:247 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00019] in
/builddir/build/BUILD/mono-1.2.5.1/mcs/class/Managed.Windows.Forms/System.Wi
ndows.Forms/XplatUIX11.cs:276 
  at System.Windows.Forms.XplatUI..cctor () [0x00075] in
/builddir/build/BUILD/mono-1.2.5.1/mcs/class/Managed.Windows.Forms/System.Wi
ndows.Forms/XplatUI.cs:95 --- End of inner exception stack trace ---

  at  
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00005] in
/builddir/build/BUILD/mono-1.2.5.1/mcs/class/Managed.Windows.Forms/System.Wi
ndows.Forms/Application.cs:380 
  at ftpWindows.Program.Main () [0x00000] in
/home/landon4/monodevelop/ftpWindows/ftpWindows/Program.cs:15 



----------------------------------------
> Date: Thu, 20 Dec 2007 16:33:31 -0600
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> CC: [email protected]
> Subject: Re: [Mono-winforms-list] this worked great under Fedora 7...error
message under Fedora 8
> 
> Can you post the full error?
> 
> Jonathan
> 
> 
> landon kelsey wrote:
>> Now when I run I get this (and more)
>> 
>> Yes I have reference to System.Windows.Forms and others
>> 
>> Built under the mono develop sde
>> 
>> at  
>>   at System.Windows.Forms.Application.EnableVisualStyles () [0x00005] in
/builddir/build/BUILD/mono-1.2.5.1/mcs/class/Managed.Windows.Forms/System.Wi
ndows.Forms/Application.cs:380 
>>   at ftpWindows.Program.Main () [0x00000] in
/home/landon4/monodevelop/ftpWindows/ftpWindows/Program.cs:15 
>> 
>> 
>> same problem building and running under command line
>> 
>> 
>> _________________________________________________________________
>> Get the power of Windows + Web with the new Windows Live.
>> http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_122007
>> _______________________________________________
>> Mono-winforms-list maillist  -  [email protected]
>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>> 
>> 
> 

_________________________________________________________________
The best games are on Xbox 360.  Click here for a special offer on an Xbox
360 Console.
http://www.xbox.com/en-US/hardware/wheretobuy/
_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to