• 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
[FAQ] Re: Precompiled header problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FAQ] Re: Precompiled header problem


  • Subject: [FAQ] Re: Precompiled header problem
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 11 Jul 2006 08:55:15 -0700

On Jul 11, 2006, at 2:21 AM, James Closs wrote:

I have changed the name of a header file in my project and, despite multiple cleans etc, the target seems to be referencing the old header file. I keep getting the following error:


ProcessPCH++ /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/AUDemo_Prefix-ddpdweikpgqscvgcmkgmiuubltig/AUDemo_Prefix.pch.gch AUDemo_Prefix.pch normal ppc c++ com.apple.compilers.gcc.4_0

    cd "/Volumes/docs/development/audio/DSP Library"

    /usr/bin/gcc-4.0 -x c++-header -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -fmessage-length=0 -mtune=G4 -fvisibility-inlines-hidden -mfix-and-continue -I/Volumes/docs/development/audio/DSP\ Library/build/dsp.build/Development/AUDemo.build/AUDemo.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -O0 -F/Volumes/docs/development/audio/DSP\ Library/build/Development -I/Volumes/docs/development/audio/DSP\ Library/build/Development/include -I/Volumes/docs/development/audio/DSP\ Library/build/dsp.build/Development/AUDemo.build/DerivedSources -c /Volumes/docs/development/audio/DSP\ Library/AUDemo_Prefix.pch -o /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/AUDemo_Prefix-ddpdweikpgqscvgcmkgmiuubltig/AUDemo_Prefix.pch.gch

powerpc-apple-darwin8-gcc-4.0.1: /Volumes/docs/development/audio/DSP Library/AUDemo_Prefix.pch: No such file or directory

powerpc-apple-darwin8-gcc-4.0.1: warning: '-x c++-header' after last input file has no effect

powerpc-apple-darwin8-gcc-4.0.1: no input files


AUDemo_Prefix.pch exists nowhere in my target. I've tried manually deleting all caches and turning off 'predictive compilation' but still get the error. Can anyone help?


The name of the precompiled header prefix is set in your Target Settings.  Changing the name of the file doesn't automatically change the setting.  (This is also true for the Info.plist file, Exported/Unexported Symbols file, Rez Prefix, and all other file- and path-based build settings).

1) Choose "Edit Current Target" from the Project menu
2) Set the popup to "All Configurations" (because you want to change this for both Debug and Release)
3) Type "Prefix" into the search panel; you should see the "Prefix File" build setting
4) Double-click the Value column and type in the new name of the file

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

References: 
 >Precompiled header problem (From: James Closs <email@hidden>)

  • Prev by Date: Re: FileMerge ineffective comparisons
  • Next by Date: RE: Per-Target Copy Files
  • Previous by thread: Precompiled header problem
  • Next by thread: Re: Xcode attaching to signaled applications
  • Index(es):
    • Date
    • Thread