Hello Serge, did you install the package mono-libgdiplus-opt-3.0.12-6.8.x86_64.rpm as well? this will create a symbolic link to the libgdiplus so file. see https://build.opensuse.org/package/view_file/home:tpokorra:mono/mono-libgdiplus/mono-libgdiplus-opt.spec?expand=1 line 29
hope that helps, Timotheus On 28 August 2013 21:22, Serge <[email protected]> wrote: > Hi Timotheus, > > Thanks for your pagckages. It looks like either I'm doing something wrong > or > your libgdiplus rpm has a bug. I've just installed Monodevelop from your > repo on a fresh CentOS box and failed to run my WinForms project there, > mono > throws an exception. > > System.ArgumentException: A null reference or invalid value was found [GDI+ > status: InvalidParameter] > at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0009b] in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:220 > at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat > format) [0x00017] in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.Drawing/System.Drawing/Bitmap.cs:97 > at System.Drawing.Bitmap..ctor (System.Drawing.Image original, Int32 > width, Int32 height) [0x00000] in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.Drawing/System.Drawing/Bitmap.cs:150 > at System.Drawing.Bitmap..ctor (System.Drawing.Image original, Size > newSize) [0x00000] in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.Drawing/System.Drawing/Bitmap.cs:108 > at at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor > (System.Drawing.Image,System.Drawing.Size) > at System.Windows.Forms.XplatUIX11.DefineCursor (System.Drawing.Bitmap > bitmap, System.Drawing.Bitmap mask, Color cursor_pixel, Color mask_pixel, > Int32 xHotSpot, Int32 yHotSpot) [0x00044] in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:3070 > at System.Windows.Forms.XplatUI.DefineCursor (System.Drawing.Bitmap > bitmap, System.Drawing.Bitmap mask, Color cursor_pixel, Color mask_pixel, > Int32 xHotSpot, Int32 yHotSpot) [0x00000] in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:567 > at System.Windows.Forms.Cursor.CreateCursor (System.IO.Stream stream) > [0x00023] in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursor.cs:110 > at System.Windows.Forms.Cursor..ctor (System.Type type, System.String > resource) [0x00021] in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursor.cs:160 > at System.Windows.Forms.Cursors.get_SizeNWSE () [0x0001a] in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Cursors.cs:311 > at System.Windows.Forms.SizeGrip..ctor (System.Windows.Forms.Control > CapturedControl) [0x00006] in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/SizeGrip.cs:47 > at at (wrapper remoting-invoke-with-check) > System.Windows.Forms.SizeGrip:.ctor (System.Windows.Forms.Control) > at System.Windows.Forms.ScrollableControl.CreateScrollbars () [0x000c2] > in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:959 > at System.Windows.Forms.ScrollableControl..ctor () [0x000b0] in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:173 > at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs:54 > at System.Windows.Forms.Form..ctor () [0x00012] in > > /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:387 > at UI.Orders..ctor () [0x00007] in /home/kex/Projects/KD/UI/Orders.cs:16 > at at (wrapper remoting-invoke-with-check) UI.Orders:.ctor () > at UI.Main..ctor () [0x00001] in /home/kex/Projects/KD/UI/Main.cs:15 > at at (wrapper remoting-invoke-with-check) UI.Main:.ctor () > at UI.Program.Main () [0x0000c] in /home/kex/Projects/KD/UI/Program.cs:19 > > Regards, > Serge. > > > > -- > View this message in context: > http://mono.1490590.n4.nabble.com/Latest-Mono-and-MonoDevelop-packages-for-CentOS-Fedora-Debian-and-Ubuntu-on-OBS-tp4660330p4660710.html > Sent from the Mono - General mailing list archive at Nabble.com. > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
