Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't find individual framework headers in XCode 1.5



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.

Thanks for your help!

Mike Crawford
mdcrawford at gmail dot com

   Read GoingWare's Bag of Programming Tricks at
         http://www.goingware.com/tips/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.