[Mono-dev] Different config files for mono pkg versus mono from source?

Robert Wilkens robwilkens at gmail.com
Sun Jun 10 22:49:44 UTC 2012


I'm trying to build mono on a mac.  The build went fine, running is another issue

So far, I verified as much as my patch to the mono mac driver works, but only by seeing it make the call in the crash stack:

See: this portion of stack trace:

at SplashTest.AppStart.AppIdle (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUICarbon.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax) [0x00000] in <filename unknown>:0 

XplatUICarbon does indeed call AppIdle which is the idle event handler assigned for this test app..

i don't know if i should worry about this, but it's crashing (as are most win forms tests) because of gdiplus.dll missing.

I tried the following in ~/.mono/config

<configuration>
         <dllmap dll="gdiplus.dll" target="libgdiplus.dylib"/>
</configuration>

Which changed the name of the DllNotFound exception to be that file, but it couldn't find that either (it's in /opt/local/lib)

I tried even putting the full path to libgdiplus.dylib in the config file didn't work.

the basic error in the stack trace is:
System.DllNotFoundException: libgdiplus.dylib

Everything else seems related to that.

Any other mac users know what i'm missing?  

Note:  If I run with mono outside of development mono it seems to "work fine" in that windows are at least displayed.  that is mono 2.10.8 versus 2.11.2 (dev)… Only 2.11.2 (with my dev-env setup) gives me the error, or requires the config file at all (if i put the config file there, 2.10.8 breaks too i think, so i must be doing something wrong there).   

-Rob


More information about the Mono-devel-list mailing list