[Mono-list] Problem with preview, I'd say Ubuntu 6.06.1
Sebastien Pouliot
sebastien.pouliot at gmail.com
Thu May 3 22:34:11 EDT 2007
Did you use configure/make/install the libgdiplus from the preview too ?
Both libgdiplus and System.Drawing.dll versions must* match.
(*) while this is not technically true this is the only way it gets
tested (and supported).
On Thu, 2007-05-03 at 23:00 -0300, Carlos Adriano Portes 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