[Mono-osx] building mcocoa

Duane Wandless duane at wandless.net
Tue Mar 10 18:10:03 EDT 2009


If you haven't already ... look into install_name_tool.   Here is a post
giving more details on how I used this.  Not sure this answers exactly your
issue.  Other than that I place mobjc-glue.dylib next to the mobjc.dll.

http://lists.ximian.com/pipermail/mono-osx/2008-October/001616.html



On Tue, Mar 10, 2009 at 5:43 PM, Martin Smith <martin.smith.jr at gmail.com>wrote:

> 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
>>
>
>
> _______________________________________________
> 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/5b2f6024/attachment-0001.html 


More information about the Mono-osx mailing list