[Mono-osx] How to use third-party framework in monomac?

Duane Wandless duane at wandless.net
Wed Aug 17 07:26:48 EDT 2011

Here are some hints:

[DllImport ("/usr/lib/libSystem.dylib")]
public static extern IntPtr dlopen (string path, int mode);

IntPtr p = dlopen("my_objc_library.dylib", 0);

Also, otool and install_name_tool may prove useful.
install_name_tool -change

And in my case both the BGHUDAppKit framework and my_objc_library.dylib are
copied into the MonoMac app bundle.

Best of luck.

On Wed, Aug 17, 2011 at 3:06 AM, roger_xiong <anson.tongbu at gmail.com> wrote:

> Hi,all
> I want using a third-party framework(/Library/frameworks/) in the MonoMac,
> I did not find how to approach.
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/How-to-use-third-party-framework-in-monomac-tp3749277p3749277.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> _______________________________________________
> 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/20110817/526ab0e7/attachment.html 

More information about the Mono-osx mailing list