[Mono-osx] Problem with Mono 2.10.3_5 Windows.Forms

Graki fradav at gmail.com
Fri Aug 12 04:42:23 EDT 2011


If you want X11 backend just add MONO_MWF_MAC_FORCE_X11 environment
variable, it should work.
The compiled gdiplus backend in the package has no carbon support, so if you
want it you'll have to recompile a few libs and add a dllmap to this new
libgdiplus in your mono config :

        <dllmap dll="gdiplus.dll">
	  &lt;dllentry dll=&quot;&lt;pathtoyourlib&gt;libgdiplus.dylib"
name="GdipCreateFromContext_macosx" target="GdipCreateFromContext_macosx"
wordsize="32" os="osx"/>

Libs to be recompiled :
- libgdiplus
- cairo 
- fontconfig

Don't forget to force 32 bits compilation as the provided mono package is in
pure 32 bits (and carbon 64 bits is unsupported). You'll have to patch
libgdiplus for the required libpng support if you want to keep system libpng
1.5, otherwise you should compile and link with your own libpng 1.2. Don't
forget to link to your
The libgdiplus state is a little messy as it is...
The real solution will have to be a a clean port of libgdiplus to Cocoa, but
it isn't planned AFAIK
Look at my last commit to my own "homebrew" fork on github to see the
formulas and patches I used :
https://github.com/fradav/homebrew Homebrew fork 

View this message in context: http://mono.1490590.n4.nabble.com/Problem-with-Mono-2-10-3-5-Windows-Forms-tp3729690p3738229.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list