• 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
Re: "No Such File Or Directory" ...Oh yeah?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "No Such File Or Directory" ...Oh yeah?


  • Subject: Re: "No Such File Or Directory" ...Oh yeah?
  • From: Kevin Grant <email@hidden>
  • Date: Mon, 29 Dec 2003 13:17:58 -0600

Are you using an absolute include path? Does it work if you represent your original file location as project-relative, using $(PROJECT) and ".." to mean one level higher?
e.g.
set "Header Search Paths" in the target settings to "$(PROJECT)/../wherever"


Kevin G.
http://homepage.mac.com/kmg/
mail to kevin at ieee dot org



Apologies for re-asking what must certainly have been asked before - but there is no XCode archive in which to search for a possible answer so, here it comes...

If a file is located up-and-over-a-level-or-so from my XCode (1.1) project, it is not found at compile time.

The file appears (in black) in the project 'Files' listing, can be selected then located via the 'Info' icon which will correctly present all the different path variations for where the file is actually located.

However, if this file is included in another file - as in '#import "myFileOverThere.h"' - the compiler balks and says "No Such File Or Directory".

BUT... Moving the file into the same directory area as the project (and informing the project of this new location) solves the problem. However, that's not something I want to do as the file really belongs to another project.

Is this something I should write up as a bug? This is not an issue with ProjectBuilder.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re[2]: "No Such File Or Directory" ...Oh yeah?
      • From: Lance Drake <email@hidden>
References: 
 >"No Such File Or Directory" ...Oh yeah? (From: Lance Drake <email@hidden>)

  • Prev by Date: Re: Question about Xcode license
  • Next by Date: Re: Question about Xcode license
  • Previous by thread: "No Such File Or Directory" ...Oh yeah?
  • Next by thread: Re[2]: "No Such File Or Directory" ...Oh yeah?
  • Index(es):
    • Date
    • Thread