Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mbarron

macrumors newbie
Original poster
Mar 30, 2009
8
0
I see a Precompiled header file in the cache area under /var which has the correct date. Why is it not being created in project directory? The error message follows: Many thanks for your time.

i686-apple-darwin9-gcc-4.0.1: /Users/appleuser/Cocoa/iHungry/iHungry_Prefix.pch: No such file or directory
 

mbarron

macrumors newbie
Original poster
Mar 30, 2009
8
0
Here is a full error listing at compilation - Thank you again.

Building target “iHungry” of project “iHungry” with configuration “Debug” — (1 error)
Checking Dependencies
cd /Users/appleuser/Cocoa/iHungry
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c-header
-arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0
-Wreturn-type -Wunused-variable -D__IPHONE_OS_VERSION_MIN_REQUIRED=20000 -isysroot
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.1.sdk -fvisibility=hidden
-mmacosx-version-min=10.5 -gdwarf-2
-iquote /Users/appleuser/Cocoa/iHungry/build/iHungry.build/Debug-iphonesimulator/iHungry.build/iHungry-generated-files.hmap
-I/Users/appleuser/Cocoa/iHungry/build/iHungry.build/Debug-iphonesimulator/iHungry.build/iHungry-own-target-headers.hmap
-I/Users/appleuser/Cocoa/iHungry/build/iHungry.build/Debug-iphonesimulator/iHungry.build/iHungry-all-target-headers.hmap
-iquote /Users/appleuser/Cocoa/iHungry/build/iHungry.build/Debug-iphonesimulator/iHungry.build/iHungry-project-headers.hmap
-F/Users/appleuser/Cocoa/iHungry/build/Debug-iphonesimulator -I/Users/appleuser/Cocoa/iHungry/build/Debug-iphonesimulator/include
-I/Users/appleuser/Cocoa/iHungry/build/iHungry.build/Debug-iphonesimulator/iHungry.build/DerivedSources
-c /Users/appleuser/Cocoa/iHungry/iHungry_Prefix.pch
-o /var/folders/lJ/lJDuzOmaEX4Q1OyHZP8pTE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/iHungry_Prefix-bzbhbkxpspcxnbfhdcaylxolkgvy/iHungry_Prefix.pch.gch
i686-apple-darwin9-gcc-4.0.1: /Users/appleuser/Cocoa/iHungry/iHungry_Prefix.pch: No such file or directory
i686-apple-darwin9-gcc-4.0.1: warning: '-x objective-c-header' after last input file has no effect
i686-apple-darwin9-gcc-4.0.1: no input files
i686-apple-darwin9-gcc-4.0.1: no input files
i686-apple-darwin9-gcc-4.0.1: no input files
i686-apple-darwin9-gcc-4.0.1: no input files
i686-apple-darwin9-gcc-4.0.1: no input files
Build failed (1 error)
 

mbarron

macrumors newbie
Original poster
Mar 30, 2009
8
0
I fixed it. Hope this helps someone some day

I created an empty file in projDir that had the name of the
sought PCH file. Now I getting warning and and error message once
again. I never expected to be so happy to see error msgs. :)
This occurred because of a scripting error. Until get SVN working
with Leopard I have been using tar. I neglected the pch, assuming
it would be regenerated when found missing.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.