• 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: Can't Find Header even though in project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't Find Header even though in project


  • Subject: Re: Can't Find Header even though in project
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 7 Mar 2006 21:48:30 -0800

On Mar 7, 2006, at 9:21 PM, Wesley Smith wrote:

As I'm trying to compile a project in xcode 2.2, I keep getting as "no

such file or directory" error when the compiler comes accross a

particular c++ header file.  I had created the file with xcode's

file->new file command.  It placed it in the project's root path.  I

compiled the project and everything was fine.


Next, because I didn't want the file at that location but in a

specific directory, I moved the file.  When I did this, I obviously

broke it's path within xcode such that it was no longer findable.  To

remedy this, I did a "get info" on the file in xcode and reset the

path to the correct location.  Yet, I get the error described above.


Since this didn't help, I went as far as to remove the file from my

project and do an "add existing files" thing to put it back.  This

still didn't work!  In between these steps, I've done several Clean

All, the magic incatation that seems to solve many xocde issues.


http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/05_04_bs_build_settings/chapter_31_section_5.html#//apple_ref/doc/uid/TP40002691-BACGEIHB

  • Header Search Paths (HEADER_SEARCH_PATHS)
  • This is a list of paths to folders to be searched by the compiler for included or imported header files when compiling C, Objective-C, C++, or Objective-C++ source files.


 _______________________________________________
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: Can't Find Header even though in project
      • From: "Sean McBride" <email@hidden>
References: 
 >Can't Find Header even though in project (From: "Wesley Smith" <email@hidden>)

  • Prev by Date: Can't Find Header even though in project
  • Next by Date: Re: Universal binary problem: ... cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)
  • Previous by thread: Can't Find Header even though in project
  • Next by thread: Re: Can't Find Header even though in project
  • Index(es):
    • Date
    • Thread