User-agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923)
I want to enable faster compiles in a Carbon project without the use of
precompiled headers. That means I can't just #include <Carbon/Carbon.h>
everywhere; I must include only the bare minimum of headers that I need.
But the following program fails to compile:
#include <CarbonCore/Devices.h>
int main(int argc, char* argv[])
{
return 0;
}
The message is: CarbonCore/Devices.h: No such file or directory
I have verified that the CarbonCore framework is included in my project.
It's a sub-framework of CoreServices.framework. I have also tried:
#include <CoreServices/CarbonCore/Devices.h>
and
#include <CoreServices/Devices.h>
What can I do to include just the headers I need? Note that I need to
be able to support old compilers in my project; it's an Open Source
library, and I want my developers to be able to use old tools without
having to pay for upgrades to OS X or their hardware.
I'm working to enable XCode/Mach-O builds of the ZooLib C++
cross-platform application framework (http://www.zoolib.org/). Presently
it only supports CodeWarrior and Code Fragment Manager. When I get
XCode working well with it I'll also support CodeWarrior/Mach-O. XCode
support will also enable building Intel-architecture OS X executables
with ZooLib.