[Mono-osx] Xcode and Dumbarton, The Saga Continues
R. Tyler Ballance
tyler at bleepconsulting.com
Mon Jan 1 18:35:47 EST 2007
Any of you that have used Xcode for more than 27 minutes know that it
has the tendency on occasion to go completely bonkers with its build
settings every now and again.
I've a fairly complex Xcode project already, ~10 targets (mostly NAnt
targets) and a few different configurations. I've recently added
Mono.framework and Dumbarton.framework to the project, and linked
them with the NSApplication target (default target) and i'm trying to
start bringing some of my Cocoa and Dumbarton code together, but the
god forsaken Xcode project absolutely refuses to find the appropriate
headers.
"Normally" i.e. with just the frameworks added to the project I get
errors like:
------------------------------------------------------------------------
--------------------------------------------
In file included from /Software/Perforce/user/tyler/Emission_
(Network)/contrib/Dumbarton.framework/Headers/Dumbarton.h:24,
from /Software/Perforce/user/tyler/Emission_
(Network)/source/dumbarton/MonoController.h:10,
from /Software/Perforce/user/tyler/Emission_
(Network)/source/dumbarton/MonoController.m:9:
/Software/Perforce/user/tyler/Emission_(Network)/contrib/
Dumbarton.framework/Headers/DBMonoIncludes.h:22:25: error: mono/jit/
jit.h: No such file or directory
/Software/Perforce/user/tyler/Emission_(Network)/contrib/
Dumbarton.framework/Headers/DBMonoIncludes.h:23:35: error: mono/
metadata/metadata.h: No such file or directory
/Software/Perforce/user/tyler/Emission_(Network)/contrib/
Dumbarton.framework/Headers/DBMonoIncludes.h:24:40: error: mono/
metadata/debug-helpers.h: No such file or directory
/Software/Perforce/user/tyler/Emission_(Network)/contrib/
Dumbarton.framework/Headers/DBMonoIncludes.h:25:33: error: mono/
metadata/object.h: No such file or directory
/Software/Perforce/user/tyler/Emission_(Network)/contrib/
Dumbarton.framework/Headers/DBMonoIncludes.h:26:34: error: mono/
metadata/threads.h: No such file or directory
/Software/Perforce/user/tyler/Emission_(Network)/contrib/
Dumbarton.framework/Headers/DBMonoIncludes.h:27:36: error: mono/
metadata/appdomain.h: No such file or directory
------------------------------------------------------------------------
--------------------------------------------
If I "force" the Xcode project to see the Mono.framework Headers/
directory (i.e. add /Library/Frameworks/Mono.framework/Headers to the
Header Search Path) I get an obscenely larger amount of errors:
------------------------------------------------------------------------
--------------------------------------------
In file included from /Library/Frameworks/Mono.framework/Headers/mono/
jit/jit.h:11,
from /Software/Perforce/user/tyler/Emission_
(Network)/contrib/Dumbarton.framework/Headers/DBMonoIncludes.h:22,
from /Software/Perforce/user/tyler/Emission_
(Network)/contrib/Dumbarton.framework/Headers/Dumbarton.h:24,
from /Software/Perforce/user/tyler/Emission_
(Network)/source/dumbarton/MonoController.h:10,
from /Software/Perforce/user/tyler/Emission_
(Network)/source/dumbarton/MonoController.m:9:
/Library/Frameworks/Mono.framework/Headers/mono/metadata/appdomain.h:
13:18: error: glib.h: No such file or directory
In file included from /Library/Frameworks/Mono.framework/Headers/mono/
metadata/metadata.h:9,
from /Library/Frameworks/Mono.framework/Headers/
mono/metadata/class.h:4,
from /Library/Frameworks/Mono.framework/Headers/
mono/metadata/object.h:4,
from /Library/Frameworks/Mono.framework/Headers/
mono/metadata/appdomain.h:15,
from /Library/Frameworks/Mono.framework/Headers/
mono/jit/jit.h:11,
from /Software/Perforce/user/tyler/Emission_
(Network)/contrib/Dumbarton.framework/Headers/DBMonoIncludes.h:22,
from /Software/Perforce/user/tyler/Emission_
(Network)/contrib/Dumbarton.framework/Headers/Dumbarton.h:24,
from /Software/Perforce/user/tyler/Emission_
(Network)/source/dumbarton/MonoController.h:10,
from /Software/Perforce/user/tyler/Emission_
(Network)/source/dumbarton/MonoController.m:9:
/Library/Frameworks/Mono.framework/Headers/mono/metadata/image.h:
6:21: error: gmodule.h: No such file or directory
------------------------------------------------------------------------
--------------------------------------------
(about 400 of these errors)
Before I thrash this Xcode project and start anew, is there some sort
of magic I'm missing? My project settings are really no different
than the Dumbarton examples', but for some damned reason this doesn't
work >_<
Ideas?
Cheers
R. Tyler Ballance: Custom Mac and Linux Development at bleep. consulting
contact: tyler at bleepconsulting.com | jabber: tyler at jabber.geekisp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20070101/7fc688d3/attachment-0001.html
More information about the Mono-osx
mailing list