• 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
Why can't Xcode find this file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why can't Xcode find this file?


  • Subject: Why can't Xcode find this file?
  • From: "Richard L. Aurbach" <email@hidden>
  • Date: Fri, 27 Mar 2009 11:12:29 -0500

I'm sorry to bother everyone again -- I've just started the long overdue migration of my legacy apps from CodeWarrior to Xcode and it's driving me crazy.

My current problem... (Xcode 3.1.2, without iPhone SDK)

I'm precompiling headers. Nestled a few layers deep in the logic is the line

#include <TNeoSwizzler.cpp>

which is producing:

 from /Working/XcProjects/GP3/GP3-ProjectManager/GPT_Prefix.Debug.pch:38:
from /Working/XcProjects/GP3/Sources/GP3_Prefix.h:354,
from /Working/XcProjects/Vendors/(Macintosh)/NeoAccess/Includes/NeoAccess.h:27,
from /Working/XcProjects/Vendors/(Macintosh)/NeoAccess/Includes/Mac/PowerPlant/CNeoDocPP.h:12,
In file included from /Working/XcProjects/Vendors/(Macintosh)/NeoAccess/Includes/Mac/PowerPlant/CNeoDatabasePP.h:22,
/Working/XcProjects/Vendors/(Macintosh)/NeoAccess/Includes/CNeoDatabase.h:31:28: error: TNeoSwizzler.cpp: No such file or directory


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).
(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

I.e., from what I thought I understood about Xcode, the file should have been found because it was already in the project AND there is a recursive header search path that should have enabled Xcode to locate it.

I am confused and frustrated. Can you help me understand what is going on and how to fix it?

Cheers,

Rick Aurbach
Aurbach & Associates, Inc.


 _______________________________________________
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

  • Follow-Ups:
    • Re: Why can't Xcode find this file?
      • From: Chris Espinosa <email@hidden>
    • Re: Why can't Xcode find this file?
      • From: Fritz Anderson <email@hidden>
    • Re: Why can't Xcode find this file?
      • From: Matt Gough <email@hidden>
  • Prev by Date: Re: Why are my Foo.h and Foo.m files not in the Classes folder?
  • Next by Date: Re: Why can't Xcode find this file?
  • Previous by thread: Re: Where do templates go now?
  • Next by thread: Re: Why can't Xcode find this file?
  • Index(es):
    • Date
    • Thread