Newbie problem XCode Include files

Posts: 13
Joined: 2008.03
Post: #1
Hey guys/gals,

I recently started developing on a mac... at least, trying to... I am used to developing on win systems and I am rather confused using XCode...

I have a directory tree containing some header and source files and I have declared a Source Tree pointing to the root of this tree. Up to this things appear to work fine. Unfortunately, whenever I want to include a header file that is located in a subdirectory of my source tree, the compiler starts to argue it can't locate the file.

For instance, trying to include a file SDLApp.h in the directory $(SOURCE_TREE)\sdl: #include "sdl\SDLApp.h" results in the aforementioned error.

What am I doing wrong???? It is probably something really trivial, but I can't find any answer...

System: MaxOS X 10.4.11, running XCode 2.5

Thanks in advance...

Gr. Bert
Quote this message in a reply
Posts: 5,143
Joined: 2002.04
Post: #2
/, not \
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  C++ with SDL2 Framework: Loading .bmp files in same folder in XCode 5 on Mavericks exitcode 1 5,571 Feb 23, 2014 11:15 PM
Last Post: SethWillits
  StorageRoom - Include content in your games sashthebash 0 3,712 Jun 13, 2011 05:39 AM
Last Post: sashthebash
  Why won't Xcode even try compiling my .cpp files?? SparkyNZ 11 24,499 Apr 3, 2011 01:44 PM
Last Post: AnotherJake
  xcode build problem NelsonMandella 7 8,503 Apr 13, 2009 12:21 PM
Last Post: szymczyk
  #include <ft2build.h> BBBert 4 13,175 Apr 7, 2008 09:33 AM
Last Post: BBBert