• 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: #include file not found for ppc, found for Intel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #include file not found for ppc, found for Intel


  • Subject: Re: #include file not found for ppc, found for Intel
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 30 Oct 2007 14:44:33 -0700


On Oct 30, 2007, at 11:51 AM, Steve Mills wrote:

I'm making sure all our projects build in Xcode 3.0. One file in one project is complaining that it can't find an #include file, but *only* when building for ppc. The project does not have architecture-specific project or target settings. The Header Search Paths entry in Project Settings is the same in our Debug and Release configs. The target does not override this or any settings.


Any ideas? It finds the file just fine in Xcode 2.x.


Two ways to gather more data:

1) Add -v to the Other C Flags build setting and rebuild the file that can't find the #include.  Copy the build transcript and save it in a new text file.  Then switch Active Architecture to Intel and rebuild.  Compare the two transcripts.  If the compiler's search paths are different or missing, you'll see why.

2) Select the file, set Active Architecture to i386, and preprocess.  Save As... on the preprocessed file.  Then switch Active Architecture to ppc and preprocess again.  Compare the two files and see whether the #included file was defined out in some way or place.

The only things that come to mind are:

- the source conditionally #includes the file based on architecture
- the source conditionally defines the #included file's include guard based on architecture
- the header is in an architecture-specific path that's not being found by the ppc side (least likely)

Chris
 _______________________________________________
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: #include file not found for ppc, found for Intel
      • From: Steve Mills <email@hidden>
References: 
 >#include file not found for ppc, found for Intel (From: Steve Mills <email@hidden>)

  • Prev by Date: [OT] radar [was: SCM in XCode 3.0 Leopard]
  • Next by Date: Re: Xcode 2.5 availability?
  • Previous by thread: #include file not found for ppc, found for Intel
  • Next by thread: Re: #include file not found for ppc, found for Intel
  • Index(es):
    • Date
    • Thread