• 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
Include-files with partial paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Include-files with partial paths


  • Subject: Include-files with partial paths
  • From: Nigel Spon <email@hidden>
  • Date: Tue, 17 Aug 2004 10:24:44 +1200

I'm trying to compile some shared code that is used by other platforms under Xcode 1.5 which includes partial paths in its header references, e.g
#include "Work/Common/UsefulBits.h".
Now I have added UsefulBits.h to the project, but the preprocessor complains at the line above and says "No such file or directory" Work/Common/UsefulBits.h.


I thought I had the solution, which was to add the rest of the path to the "Other C Flags" in the options for the project, e.g
-I Users/fred/Documents/XCodeProjects
- where XCodeProjects contains the directory "Work". However this does not work. Have I misunderstood its purpose, or got the wrong syntax, or am I using the wrong thing altogether?


Many thanks for any assistance,

---
"The command could not be completed because it cannot be moved into itself"


Nigel
_______________________________________________
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: Include-files with partial paths
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: Xcode cleaning the project each time I build it
  • Next by Date: "Find in Project" Slow- CVS?
  • Previous by thread: XCode 1.5 debugger not showing variable summaries?
  • Next by thread: Re: Include-files with partial paths
  • Index(es):
    • Date
    • Thread