• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bizarre XCode compilation bug (?) - can't find Carbon headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bizarre XCode compilation bug (?) - can't find Carbon headers


  • Subject: Re: Bizarre XCode compilation bug (?) - can't find Carbon headers
  • From: Daniel Jalkut <email@hidden>
  • Date: Mon, 18 Apr 2005 14:36:34 -0700

This has come up in the past and the correlation seems to be that everybody who has the problem is running with a dual-processor mac.

It happens to me frequently, and simply hitting compile again (no need to clean) seems to rectify it.

Daniel

On Apr 18, 2005, at 1:21 PM, Matt Gough wrote:


On 18 Apr 2005, at 17:19, Jonathan del Strother wrote:


On 18 Apr 2005, at 1:45 AM, Jonathan del Strother wrote:


I keep running into compilation problems in an XCode project I'm working on. It complains of the following:

...

The above are all Carbon headers, and I've included the Carbon framework. When I hit rebuild, the problems go away for a compile or 2. Trashing the build folder hasn't helped...

Any ideas what's going on?


Carbon is an umbrella framework, and you can't in the long run rely on its internal structure of subframeworks. What happens when you #include <Carbon/Carbon.h> in your prefix header, and omit all the partial #includes? The umbrella #include should make all the others unnecessary.




That's the weird part : I *am* just including Carbon/Carbon.h. The errors are occurring within the Carbon.h file.




I often see a similar thing in a cocoa app after having just done a 'Clean' The first compile moans about not being able to find Appkit.h, but subsequent compiles work OK.


Matt Gough

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Bizarre XCode compilation bug (?) - can't find Carbon headers
      • From: Syd Polk <email@hidden>
    • Re: Bizarre XCode compilation bug (?) - can't find Carbon headers
      • From: Chris Espinosa <email@hidden>
References: 
 >Bizarre XCode compilation bug (?) - can't find Carbon headers (From: Jonathan del Strother <email@hidden>)
 >Re: Bizarre XCode compilation bug (?) - can't find Carbon headers (From: Fritz Anderson <email@hidden>)
 >Re: Bizarre XCode compilation bug (?) - can't find Carbon headers (From: Jonathan del Strother <email@hidden>)
 >Re: Bizarre XCode compilation bug (?) - can't find Carbon headers (From: Matt Gough <email@hidden>)

  • Prev by Date: Re: Keep function names in deployment binary?
  • Next by Date: Re: Can't Compile after 10.3.9 upgrade
  • Previous by thread: Re: Bizarre XCode compilation bug (?) - can't find Carbon headers
  • Next by thread: Re: Bizarre XCode compilation bug (?) - can't find Carbon headers
  • Index(es):
    • Date
    • Thread