[Mono-list] Problem with preview, I'd say Ubuntu 6.06.1

Everaldo Canuto everaldo at simios.org
Thu May 3 22:09:03 EDT 2007


Ops,

Looks like you have it :)
Strange is that it is searching for gdiplus.dll and not for
libgdiplus.so. Let me check what reasons can cause this.

Everaldo.

On 5/3/07, Everaldo Canuto <everaldo at simios.org> wrote:
> Hey,
>
> You must install libgdiplus to work with WinForms apps. You can get it
> from same page where you get mono sources.
>
> Everaldo.
>
> On 5/3/07, Carlos Adriano Portes <xcap2000 at gmail.com> wrote:
> > Hi people I need help with compiling mono preview (the latest) on
> > ubuntu 6.06.1, it compiles with no problem, the problem is when
> > executing binaries it shows the following message:
> >
> > 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.GdiplusStartupOutput&)
> >   at System.Drawing.GDIPlus..cctor () [0x00000] --- End of inner
> > exception stack trace ---
> >
> >   at <0x00000> <unknown method>
> >   at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000]
> >   at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr
> > display_handle) [0x00000]
> >   at System.Windows.Forms.XplatUIX11..ctor () [0x00000]
> >   at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000]
> >   at System.Windows.Forms.XplatUI..cctor () [0x00000] --- End of inner
> > exception stack trace ---
> >
> >   at <0x00000> <unknown method>
> >   at System.Windows.Forms.Application.EnableVisualStyles () [0x00000]
> >   at Teste12.Program.Main () [0x00000]
> > adriano at adriano-desktop:~$ ldconfig -p | grep libgdiplus
> >         libgdiplus.so.0 (libc6) => /usr/lib/libgdiplus.so.0
> >         libgdiplus.so (libc6) => /usr/lib/libgdiplus.so
> > adriano at adriano-desktop:~$ sudo ldconfig -p | grep libgdiplus
> > Password:
> >         libgdiplus.so.0 (libc6) => /usr/lib/libgdiplus.so.0
> >         libgdiplus.so (libc6) => /usr/lib/libgdiplus.so
> >
> > But when compiling there is no error and bellow the messages of
> > ./configure --prefix=/usr
> >
> >         mcs source:  $(top_srcdir)/mcs
> >         GC:          included
> >         TLS:         __thread
> >         SIGALTSTACK: no
> >         Engine:      Building and using the JIT
> >         2.0 Alpha:   yes
> >         JNI support: IKVM Native
> >         libgdiplus:  assumed to be installed
> >         zlib:        system zlib
> >
> > Is there something wrong?
> > _______________________________________________
> > Mono-list maillist  -  Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
>


More information about the Mono-list mailing list