[Mono-osx] Invoke CIL/Managed Code from ObjC/XCode on Mac

Andreas Färber andreas.faerber at web.de
Sat Oct 25 06:42:08 EDT 2008


Hi,

Am 25.10.2008 um 04:13 schrieb Kevin Heeney:

> I am unable to successfully 'embed mono' or call methods from my  
> Mono dll in ObjC. [...]  My actual issue with the latter is I cannot  
> get XCode to link to the mono framework.  I am getting errors like  
> "main.c:1: error: mono/jit/jit.h: No such file or directory".

You need to add three header search paths (Mono + 2x GLib), see the  
list archives for details. Depending on your GLib version you may need  
to tweak a header there in case you get duplicate symbol errors.

Dumbarton is an example of an ObjC wrapper around the C embedding API  
that might be easier to use - didn't quite fit my needs though.

HTH,
Andreas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20081025/8584ac83/attachment.html 


More information about the Mono-osx mailing list