Re: No such file or directory
Re: No such file or directory
- Subject: Re: No such file or directory
- From: Jeff Heyob <email@hidden>
- Date: Tue, 21 Feb 2006 12:44:15 -0500
Chris,
Sorry, for the brevity. This problem is giving me gray hair.
I'm trying to port code from Codewarrior Pro 8.3 using PowerPlant
2.2.1 into Xcode 2.2.1. I used Xcode's import function to create the
project.
I have merged a subset of PowerPlant code into my source directory
and converted all #include <file.h> references to PowerPlant headers
to be #include "file.h".
I have a single "User Header Search Path" = "/Development/
InfoScribePP v2/InfoScribe Current/source"
When I attempt to "Build" the project, I get the following error result:
--------------------------------------------------
Distributed-CompileC build/aFileMerge.build/ISFileMerge_Debug/
ISFileMerge.build/Objects-normal/ppc/FileFix.o "/Development/
InfoScribePP v2/InfoScribe Current/source/kernel/FileFix.cp" normal
ppc c++ com.apple.compilers.gcc.4_0
cd "/Development/ InfoScribePP v2/InfoScribe Current"
setenv DISTCC_COMPILER "gcc version 4.0.1 (Apple Computer, Inc.
build 5250)"
setenv DISTCC_HOSTS Clayoquot.local./6
setenv DISTCC_SYSTEM "10.4.4 (ppc)"
/usr/bin/distcc /usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-
trigraphs -fpascal-strings -fshort-enums -fasm-blocks -O0 -
Woverloaded-virtual -Wunused-parameter -Wunused-variable -Wunknown-
pragmas -fmessage-length=0 -mtune=G4 -fvisibility=hidden -fvisibility-
inlines-hidden -Wno-invalid-offsetof -mmacosx-version-min=10.3 -
iquote /Development/\ InfoScribePP\ v2/InfoScribe\ Current/build/
aFileMerge.build/ISFileMerge_Debug/ISFileMerge.build/ISFileMerge-
generated-files.hmap -I/Development/\ InfoScribePP\ v2/InfoScribe\
Current/build/aFileMerge.build/ISFileMerge_Debug/ISFileMerge.build/
ISFileMerge-own-target-headers.hmap -I/Development/\ InfoScribePP\ v2/
InfoScribe\ Current/build/aFileMerge.build/ISFileMerge_Debug/
ISFileMerge.build/ISFileMerge-all-target-headers.hmap -iquote /
Development/\ InfoScribePP\ v2/InfoScribe\ Current/build/
aFileMerge.build/ISFileMerge_Debug/ISFileMerge.build/ISFileMerge-
project-headers.hmap -mdynamic-no-pic -fpch-preprocess -F/Development/
\ InfoScribePP\ v2/InfoScribe\ Current/build/ISFileMerge_Debug -
iquote/Development/\ InfoScribePP\ v2/InfoScribe\ Current/source -I/
Development/\ InfoScribePP\ v2/InfoScribe\ Current/build/
ISFileMerge_Debug/include -I/Developer/Headers/FlatCarbon -I/
Development/\ InfoScribePP\ v2/InfoScribe\ Current/build/
aFileMerge.build/ISFileMerge_Debug/ISFileMerge.build/DerivedSources -
include /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/
ISTL_MachO_Util_Final_XC-ehyuoishdiwojthhhycuswktdlxq/
ISTL_MachO_Util_Final_XC.h -c /Development/\ InfoScribePP\ v2/
InfoScribe\ Current/source/kernel/FileFix.cp -o /Development/\
InfoScribePP\ v2/InfoScribe\ Current/build/aFileMerge.build/
ISFileMerge_Debug/ISFileMerge.build/Objects-normal/ppc/FileFix.o
In file included from /Development/ InfoScribePP v2/InfoScribe
Current/source/kernel/ISTL_Parameter.h:14,
from /Development/ InfoScribePP v2/InfoScribe
Current/source/kernel/ISTL_File.h:10,
from /Development/ InfoScribePP v2/InfoScribe
Current/source/kernel/FileFix.h:12,
from /Development/ InfoScribePP v2/InfoScribe
Current/source/kernel/FileFix.cp:7:
/Development/ InfoScribePP v2/InfoScribe Current/source/kernel/
ISTL_Stream.h:11:27: error: FileUtilities.h: No such file or directory
/Development/ InfoScribePP v2/InfoScribe Current/source/kernel/
ISTL_Stream.h:19:23: error: MPThread.h: No such file or directory
In file included from /Development/ InfoScribePP v2/InfoScribe
Current/source/kernel/FileFix.h:12,
from /Development/ InfoScribePP v2/InfoScribe
Current/source/kernel/FileFix.cp:7:
/Development/ InfoScribePP v2/InfoScribe Current/source/kernel/
ISTL_File.h:16:25: error: ISTL_Buffer.h: No such file or directory
/Development/ InfoScribePP v2/InfoScribe Current/source/kernel/
FileFix.cp:8:23: error: Utilities.h: No such file or directory
distcc[20121] ERROR: compile /Development/ InfoScribePP v2/InfoScribe
Current/source/kernel/FileFix.cp on Clayoquot.local./6 failed
--------------------------------------------------
Some of the files that trigger the "No such file or directory" are:
/Development/ InfoScribePP v2/InfoScribe Current/source/Utility/
FileUtilities.h
/Development/ InfoScribePP v2/InfoScribe Current/source/Utility/
MPThread.h
/Development/ InfoScribePP v2/InfoScribe Current/source/Utility/
ISTL_Buffer.h
/Development/ InfoScribePP v2/InfoScribe Current/source/Utility/
Utilities.h
All of the "No such file or directory" errors involve a header file
that is located in a directory tree branch different from the current
branch.
The precompile header phase succeeds with the following log:
--------------------------------------------------
ProcessPCH++ /Library/Caches/com.apple.Xcode.501/
SharedPrecompiledHeaders/ISTL_MachO_Util_Final_XC-
ehyuoishdiwojthhhycuswktdlxq/ISTL_MachO_Util_Final_XC.h.gch source/
ISTL_MachO_Util_Final_XC.h normal ppc c++ com.apple.compilers.gcc.4_0
cd "/Development/ InfoScribePP v2/InfoScribe Current"
setenv DISTCC_COMPILER "gcc version 4.0.1 (Apple Computer, Inc.
build 5250)"
setenv DISTCC_HOSTS localhost/1
setenv DISTCC_SYSTEM "10.4.4 (ppc)"
/usr/bin/gcc-4.0 -x c++-header -arch ppc -pipe -Wno-trigraphs -
fpascal-strings -fshort-enums -fasm-blocks -O0 -Woverloaded-virtual -
Wunused-parameter -Wunused-variable -Wunknown-pragmas -fmessage-
length=0 -mtune=G4 -fvisibility=hidden -fvisibility-inlines-hidden -
Wno-invalid-offsetof -mmacosx-version-min=10.3 -iquote /Development/\
InfoScribePP\ v2/InfoScribe\ Current/build/aFileMerge.build/
ISFileMerge_Debug/ISFileMerge.build/ISFileMerge-generated-files.hmap -
I/Development/\ InfoScribePP\ v2/InfoScribe\ Current/build/
aFileMerge.build/ISFileMerge_Debug/ISFileMerge.build/ISFileMerge-own-
target-headers.hmap -I/Development/\ InfoScribePP\ v2/InfoScribe\
Current/build/aFileMerge.build/ISFileMerge_Debug/ISFileMerge.build/
ISFileMerge-all-target-headers.hmap -iquote /Development/\
InfoScribePP\ v2/InfoScribe\ Current/build/aFileMerge.build/
ISFileMerge_Debug/ISFileMerge.build/ISFileMerge-project-headers.hmap -
mdynamic-no-pic -fpch-preprocess -F/Development/\ InfoScribePP\ v2/
InfoScribe\ Current/build/ISFileMerge_Debug -iquote/Development/\
InfoScribePP\ v2/InfoScribe\ Current/source -I/Development/\
InfoScribePP\ v2/InfoScribe\ Current/build/ISFileMerge_Debug/include -
I/Developer/Headers/FlatCarbon -I/Development/\ InfoScribePP\ v2/
InfoScribe\ Current/build/aFileMerge.build/ISFileMerge_Debug/
ISFileMerge.build/DerivedSources -c /Development/\ InfoScribePP\ v2/
InfoScribe\ Current/source/ISTL_MachO_Util_Final_XC.h -o /Library/
Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/
ISTL_MachO_Util_Final_XC-ehyuoishdiwojthhhycuswktdlxq/
ISTL_MachO_Util_Final_XC.h.gch
--------------------------------------------------
My reference to the "open quickly" function was to clarify that the
files are accessible from within the Xcode GUI. This led me to
believe that my source directory path is correct for Xcode to locate
these files. The compiler seems to have problems locating files
whenever a header file in a given directory tree branch references a
header file in a different branch of my source directory tree.
Thanks in advance for your assistance.
Jeff
On Feb 20, 2006, at 6:22 PM, Chris Espinosa wrote:
On Feb 20, 2006, at 1:45 PM, Jeff Heyob wrote:
Does anyone know how to fix the "No such file or directory" error
message in Xcode when the files do actually exist and will "open
quickly" from within Xcode? The files are in my project's "user
header search path".
When you say "the" No such file or directory error message you
assume we know which one you're talking about. Please tell us what
you're doing, step by step, when you see this message: building?
Editing? Launching? What kind of file is missing—source? Header?
Executable?
If it's during a build, post the part of the build transcript with
the invocation of the tool that's getting the error (e.g. if it's a
CompileC step, list the CompileC line and the error message).
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