Re: Troubles using headers precompilation [SOLVED]
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