[Mono-osx] windows.forms (with mono daily binaries) on macos

matteot matteo.tesser at gmail.com
Tue Jul 22 04:40:59 EDT 2008

Hi, I'm trying to use the daily binaries version of mono, but I have problems
to run windows.forms programs on osx  10.5 (console applications works
well). The problem is due to the integration with libgdi plus (I have
installed it using macports). without modifying the .profile configuration,
I obtain the following error when launching a WF app (the dynamic library is
not found)

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for System.Drawing.GDIPlus --->
System.DllNotFoundExcep                  tion: gdiplus.dll
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
  at System.Drawing.GDIPlus..cctor () [0x00000]

but if I add the following line in the .profile (as suggested in a tutorial)  


I obtain the following:

dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from:
Expected in: /opt/local/lib/libJPEG.dylib

There are other ways to make mono see libgdiplus correctly?
Thank you,

View this message in context: http://www.nabble.com/windows.forms-%28with-mono-daily-binaries%29-on-macos-tp18584869p18584869.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list