Newbie problem XCode Include files
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
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
/, not \
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| StorageRoom - Include content in your games | sashthebash | 0 | 2,086 |
Jun 13, 2011 05:39 AM Last Post: sashthebash |
|
| Why won't Xcode even try compiling my .cpp files?? | SparkyNZ | 11 | 11,042 |
Apr 3, 2011 01:44 PM Last Post: AnotherJake |
|
| xcode build problem | NelsonMandella | 7 | 4,914 |
Apr 13, 2009 12:21 PM Last Post: szymczyk |
|
| #include <ft2build.h> | BBBert | 4 | 9,898 |
Apr 7, 2008 09:33 AM Last Post: BBBert |
|
| It is a very stange problem, about Creating and Opening Files | sakiel | 6 | 4,073 |
Sep 7, 2007 01:18 PM Last Post: Zekaric |
|

