3

我对 MONO 完全陌生。

我创建了一个新的窗口窗体应用程序,没有任何编码。然后转到 MonoDevelop @ Fedora 18(我在 Fedora 中使用 yum install monodevelop 安装了最新的 monodevelop),编译很好,但是当尝试运行时,它报告以下错误:(我需要为此安装其他补丁或其他东西吗?)

System.Drawing.GDIPlus.CheckStatus (status=System.Drawing.Status.InvalidParameter) in /builddir/build/BUILD/mono-2.10.8/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:220
System.Drawing.Bitmap..ctor (width=0, height=0, format=System.Drawing.Imaging.PixelFormat.Format32bppArgb) in /builddir/build/BUILD/mono-2.10.8/mcs/class/System.Drawing/System.Drawing/Bitmap.cs:97
System.Drawing.Bitmap..ctor (original={System.Drawing.Bitmap}, width=0, height=0) in /builddir/build/BUILD/mono-2.10.8/mcs/class/System.Drawing/System.Drawing/Bitmap.cs
System.Drawing.Bitmap..ctor (original={System.Drawing.Bitmap}, newSize={{Width=0, Height=0}}) in /builddir/build/BUILD/mono-2.10.8/mcs/class/System.Drawing/System.Drawing/Bitmap.cs
System.Windows.Forms.XplatUIX11.DefineCursor (bitmap={System.Drawing.Bitmap}, mask={System.Drawing.Bitmap}, cursor_pixel={Color [A=255, R=255, G=255, B=255]}, mask_pixel={Color [A=255, R=255, G=255, B=255]}, xHotSpot=7, yHotSpot=7) in /builddir/build/BUILD/mono-2.10.8/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:3023
System.Windows.Forms.XplatUI.DefineCursor (bitmap={System.Drawing.Bitmap}, mask={System.Drawing.Bitmap}, cursor_pixel={Color [A=255, R=255, G=255, B=255]}, mask_pixel={Color [A=255, R=255, G=255, B=255]}, xHotSpot=7, yHotSpot=7) in /builddir/build/BUILD/mono-2.10.8/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:567
System.Windows.Forms.Cursor.CreateCursor (stream={System.IO.UnmanagedMemoryStream}) in /builddir/build/BUILD/mono-2.10.8/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursor.cs:110
System.Windows.Forms.Cursor..ctor (type={System.Windows.Forms.Cursor}, resource="NWSE.cur") in /builddir/build/BUILD/mono-2.10.8/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursor.cs:160
System.Windows.Forms.Cursors.get_SizeNWSE () in /builddir/build/BUILD/mono-2.10.8/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursors.cs:311
System.Windows.Forms.SizeGrip..ctor (CapturedControl={LinuxTest.Form1, Text: }) in /builddir/build/BUILD/mono-2.10.8/mcs/class/Managed.Windows.Forms/System.Windows.Forms/SizeGrip.cs:47
System.Windows.Forms.ScrollableControl.CreateScrollbars () in /builddir/build/BUILD/mono-2.10.8/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:1127
System.Windows.Forms.ScrollableControl..ctor () in /builddir/build/BUILD/mono-2.10.8/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:318
System.Windows.Forms.ContainerControl..ctor () in /builddir/build/BUILD/mono-2.10.8/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs
System.Windows.Forms.Form..ctor () in /builddir/build/BUILD/mono-2.10.8/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
LinuxTest.Form1..ctor () in /home/GTC/MyProject/LinuxTest/LinuxTest/Form1.cs
LinuxTest.Program.Main () in /home/GTC/MyProject/LinuxTest/LinuxTest/Program.cs:18
4

0 回答 0