• 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
Two Header file search path questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two Header file search path questions


  • Subject: Two Header file search path questions
  • From: Ando Sonenblick <email@hidden>
  • Date: Wed, 7 Sep 2005 14:40:50 -0700

1. Why is it that even after adding (by dragging foo.h into my project) that some other .cpp file that #includes "foo.h" can't find it and I need to add the folder that contains foo.h to the header search paths?

It seems that if its in the project (and opens when doubleclicked in the project) that Xcode should be able to find it!


2. Then, why is that when I do drag a folder into the header Search paths that Xcode still cant find foo.h until I manually edit the path of the folder from "$(SRCROOT)/../FooFolder" to just "../FooFolder"?


Is SRCROOT something I need to set up or what?

thx,
ando

_______________________________________________
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: Two Header file search path questions
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: Command line tools from PEF?
  • Next by Date: Re: Problems bundleizing a static library in Development Build Style
  • Previous by thread: Re: Scrolling in Xcode 2.1
  • Next by thread: Re: Two Header file search path questions
  • Index(es):
    • Date
    • Thread