• 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: Troubles using headers precompilation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Troubles using headers precompilation


  • Subject: Re: Troubles using headers precompilation
  • From: David Ewing <email@hidden>
  • Date: Mon, 13 Jun 2005 14:10:42 -0600

As the warning suggests, try compiling with "-Winvalid-pch" to get more information as to why the compile is failing.

Dave

On Jun 13, 2005, at 1:49 AM, Yann Bizeul wrote:

Hi list,

Since I installed XCode 2.1, I can't compile my project with headers precompilation enabled.

    Here is the error I get :

CompileC build/BuddyPop.build/Deployment/BluetoothPlugin.build/ Objects-normal/ppc/BluetoothDialAction.o Plug-Ins/Bluetooth/ BluetoothDialAction.m normal ppc objective-c com.apple.compilers.gcc.4_0
mkdir /Users/yann/Developpement/BuddyPop/build/BuddyPop.build/ Deployment/BluetoothPlugin.build/Objects-normal/ppc
cd /Users/yann/Developpement/BuddyPop
/usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -Wno-trigraphs - fpascal-strings -fasm-blocks -Os -fmessage-length=0 -mtune=G4 -I/ Users/yann/Developpement/BuddyPop/build/BuddyPop.build/Deployment/ BluetoothPlugin.build/BluetoothPlugin.hmap -Wmost -Wno-four-char- constants -Wno-unknown-pragmas -F/Users/yann/Developpement/BuddyPop/ build/Deployment -I/Users/yann/Developpement/BuddyPop/build/ Deployment/include -I/Users/yann/Developpement/BuddyPop/build/ BuddyPop.build/Deployment/BluetoothPlugin.build/DerivedSources - DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_2 -include / Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/ BuddyPop_Prefix-bzpmheuggsdvcxbrccayrzkpukfw/BuddyPop_Prefix.h -c / Users/yann/Developpement/BuddyPop/Plug-Ins/Bluetooth/ BluetoothDialAction.m -o /Users/yann/Developpement/BuddyPop/build/ BuddyPop.build/Deployment/BluetoothPlugin.build/Objects-normal/ppc/ BluetoothDialAction.o
cc1obj: error: /Library/Caches/com.apple.Xcode.501/ SharedPrecompiledHeaders/BuddyPop_Prefix- bzpmheuggsdvcxbrccayrzkpukfw/BuddyPop_Prefix.h: No such file or directory
cc1obj: error: one or more PCH files were found, but they were invalid
cc1obj: error: use -Winvalid-pch for more information


And here is the content of /Library/Caches/com.apple.Xcode.501/ SharedPrecompiledHeaders/BuddyPop_Prefix- bzpmheuggsdvcxbrccayrzkpukfw/ :
BuddyPop_Prefix.h.gch
BuddyPop_Prefix.h.gch.hash-criteria


Yann Bizeul • yann at tynsoe.org
Cocoa Developer

Tynsoe Projects
BuddyPop • GeekTool • SSH Tunnel Manager • ...
http://projects.tynsoe.org/

 _______________________________________________
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

_______________________________________________ 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: 
 >Troubles using headers precompilation (From: Yann Bizeul <email@hidden>)

  • Prev by Date: Re: Moving from CodeWarrior to XCode
  • Next by Date: getResourceAsStream can't find the XML file
  • Previous by thread: Troubles using headers precompilation
  • Next by thread: Re: Troubles using headers precompilation [SOLVED]
  • Index(es):
    • Date
    • Thread