[Mono-winforms-list] this worked great under Fedora 7...error message under Fedora 8

Jonathan Chambers joncham at gmail.com
Fri Dec 21 12:48:15 EST 2007


Run ldd on your libgdiplus.so. It can't find that dll, or something it
depends on.

Also, run you app with these environment variables set:

MONO_LOG_LEVEL=info
MONO_LOG_MASK=dll

Post the output from the above two suggestions.

Thanks,
Jonathan

On Dec 21, 2007 12:44 PM, landon kelsey <landonmkelsey at hotmail.com> wrote:

>
> THANKS!!!!!  but...
>
> LMKIII (root) /var/www/html [1002]>yum install libgdiplus
> livna                     100% |=========================| 2.1 kB    00:00
> primary.sqlite.bz2        100% |=========================| 172 kB    00:01
> fedora                    100% |=========================| 2.1 kB    00:00
> updates                   100% |=========================| 2.3 kB    00:00
> primary.sqlite.bz2        100% |=========================| 1.0 MB    00:03
> Setting up Install Process
> Parsing package install arguments
> Package libgdiplus - 1.2.5-1.fc8.i386 is already installed.
>         <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> Nothing to do
> LMKIII (root) /var/www/html [1003]>
>
> as I said, all my C# stuff worked without change under Fedora 7
>
> Many Linux guys hate anything even remotely related to MS.
>
> I was very happy to be able to compile/run C# under Linux.
>
> I was blown away that I could even open the .sln file and compile/run!
>
> Whoever programmed this package did a marvelous feat!
>
> I'll keep thinking of solutions!
>
> The code doesn't run even using the command line!
>
> gmcs does compile and run without System.Windows.Forms
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ----------------------------------------
> > From: keenriser at planet.nl
> > To: landonmkelsey at hotmail.com
> > CC: mono-winforms-list at lists.ximian.com
> > Subject: RE: [Mono-winforms-list] this worked great under Fedora
> 7...error message under Fedora 8
> > Date: Fri, 21 Dec 2007 08:12:54 +0100
> >
> > 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: mono-winforms-list-bounces at lists.ximian.com
> > [mailto:mono-winforms-list-bounces at lists.ximian.com] On Behalf Of landon
> > kelsey
> > Sent: vrijdag 21 december 2007 1:33
> > To: Jonathan Pobst
> > Cc: mono-winforms-list at lists.ximian.com
> > 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: monkey at jpobst.com
> >> To: landonmkelsey at hotmail.com
> >> CC: mono-winforms-list at lists.ximian.com
> >> 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  -  Mono-winforms-list at lists.ximian.com
> >>> 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  -  Mono-winforms-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-winforms-list
> >
>
> _________________________________________________________________
> Don't get caught with egg on your face. Play Chicktionary!
> http://club.live.com/chicktionary.aspx?icid=chick_wlhmtextlink1_dec
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20071221/16a1ec38/attachment.html 


More information about the Mono-winforms-list mailing list