[Mono-osx] building mcocoa

Martin Smith martin.smith.jr at gmail.com
Tue Mar 10 17:43:41 EDT 2009


Hi Jesse,

I didn't get around to trying this. We're actually embedding mono, and
that's worked properly without launching from MObjC.  One problem that we're
having now is getting the dylib to be found.  Unless we do a dllmap to map
the dylib to a specific location, it looks in /usr/local/lib.  It's not a
problem right now, but we'll need a better solution when we release.  Right
now, we put all the mono dlls and dylib files into the Resources folder of
our bundle.  Do you have any ideas on how to get mono to look in that path?
If we could specify the dllmap in code, that would probably help, but the
file could be anywhere on their disk.

Thanks in advance,
Martin




On Thu, Mar 5, 2009 at 3:56 PM, Jesse Jones <jesjones at mindspring.com> wrote:

>
> On Mar 5, 2009, at 11:27 AM, Martin Smith wrote:
>
> > I did some investigating and it seems that the app is failing on
> > this line:
> >
> >           NSApplication app = NSApplication.Create("MainMenu.nib");
>
> Try building from svn. There was a nasty stack smashing bug that often
> failed for Intel machines.
>
> -- Jesse
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20090310/2d2a56fc/attachment.html 


More information about the Mono-osx mailing list