Re: Why can't Xcode find this file?
Re: Why can't Xcode find this file?
- Subject: Re: Why can't Xcode find this file?
- From: Fritz Anderson <email@hidden>
- Date: Fri, 27 Mar 2009 11:42:03 -0500
No solutions, but maybe something else to poke at...
On 27 Mar 2009, at 11:12 AM, Richard L. Aurbach wrote:
I'm precompiling headers. Nestled a few layers deep in the logic is
the line
#include <TNeoSwizzler.cpp>
...
What I don't understand is why I am getting that message, given that
I expect the file to be found because:
(a) TNeoSwizzler.cpp is actually IN the project (as are
GP3_Prefix.h, NeoAccess.h, CNeoDocPP.h, CNeoDatabasePP.h, and
CNeoDatabase.h).
Mere presence in the project list doesn't guarantee that a file will
be found in a header search path. But that seems not to be the
problem, as...
(b) The header search path contains a RECURSIVE path to /Working/
XcProjects/Vendors/(Macintosh)/NeoAccess and the full path to the
file is /Working/XcProjects/Vendors/(Macintosh)/NeoAccess/Sources/
TNeoSwizzler.cpp
Another thought: Parentheses are sacred to the shell, and if the
compiler invocation passes through a shell interpreter (I believe this
has varied situation-to-situation and release-to-release in Xcode --
it's steadily improving), the presence of the (Macintosh) directory in
the path might be confusing. Try quoting (or, I suppose, \-escaping)
the path.
The advice is frequently to add "-v" to the gcc compiler flags, and
see if the resulting torrent gives clues to what the compiler thinks
is going on.
— F
--
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- <http://x3u.manoverboard.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