• 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: Extreme Search Path Problems!!!!!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extreme Search Path Problems!!!!!


  • Subject: Re: Extreme Search Path Problems!!!!!
  • From: Markus Hitter <email@hidden>
  • Date: Thu, 4 Aug 2005 02:52:23 +0200


Am 04.08.2005 um 02:03 schrieb Ando Sonenblick:

The problem is that Xcode cannot find the include files.

(The compiler's name is "gcc" or "g++" in your case. Xcode is the name of the IDE.)


The apparent reason is that the code has "pathed" includes.

gcc works with pathed #includes for ages, no reason it should stop now all of a sudden. Even the Unix standard headers in /usr/include have #includes with more than just the file name.



This seems to confuse Xcode and prevents it from finding the header foo.h

What does your build transscript say? You get it by clicking on one of the buttons between the upper and the lower pane in the build window (watch the ToolTips). Is the include path (-I option) passed down to gcc?



I had added the root folder to the Header Search Paths (dragging it in to the Search Paths UI to ensure the path is accurate relative to the project) and made it recursive... no luck.

Something in the back of my head says there were some issue with relative paths there. Not sure wether the bug is fixed already and which version of Xcode you are using. An absolute path would be worth a try.


Recursive search paths are not very Unixy and were added only recently ...



HTH,
Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/




_______________________________________________ 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: 
 >Extreme Search Path Problems!!!!! (From: Ando Sonenblick <email@hidden>)

  • Prev by Date: Solved (I think): Re: Memory Browser Displays "A A A A"
  • Next by Date: Re: Subversion database corruption
  • Previous by thread: Extreme Search Path Problems!!!!!
  • Next by thread: Re: Extreme Search Path Problems!!!!!
  • Index(es):
    • Date
    • Thread