• 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 [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Troubles using headers precompilation [SOLVED]


  • Subject: Re: Troubles using headers precompilation [SOLVED]
  • From: Yann Bizeul <email@hidden>
  • Date: Mon, 13 Jun 2005 22:36:11 +0200

Thanks to david for the time he took to answer this dumb question, I compiled with -Winvalid-pch as suggested the error and saw I have to set the deployment target variable to make it compile fine

Yann Bizeul • yann at tynsoe.org
Cocoa Developer

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

Le 13 juin 05 à 09:49, Yann Bizeul a écrit :

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: getResourceAsStream can't find the XML file ~~ Resolved
  • Next by Date: Where is the line drawn?
  • Previous by thread: Re: Troubles using headers precompilation
  • Next by thread: Re: Xcode-users Digest, Vol 2, Issue 267
  • Index(es):
    • Date
    • Thread