• 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: Search problems?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search problems?


  • Subject: Re: Search problems?
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 17 Jan 2006 16:58:19 -0800

On Jan 17, 2006, at 4:43 PM, Scott Squires wrote:

I have some   #include <myfile.h>  type statements in some headers files.

For some reason the compiler can't seem to locate these files even though

I've placed the search path in the project prefs.  I've tried Header and

user search path. (and enabled)

If it's buried in a folder I turn on recursion and if the directory path has

a space I put it in quotes.


Is there anything that could be throwing it off or additional settings

required?  It still can't find it even when I add the file directly. Xcode 2

doesn't seem to add paths automatically like CodeWarrior.


The only way to find out is for you to do this:

1) Add "-v" to the Other C Flags build setting in your target and build a file that tries to include the header that can't be found
2) Copy the compiler invocation for that file, and its output, from the full build transcript and paste it into a reply to this message

There's also source tree under Xcode prefs.  How does this affect either the

project search list?


As documented in the "Source Trees" topic in the Xcode User Guide:  http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/01_04_pr_add_files/chapter_7_section_6.html

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

References: 
 >Search problems? (From: Scott Squires <email@hidden>)

  • Prev by Date: Search problems?
  • Next by Date: Re: Always Search User Paths not affecting precompiled header?
  • Previous by thread: Search problems?
  • Next by thread: UML Xcode plugin
  • Index(es):
    • Date
    • Thread