C file can't find local header file to include

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

C file can't find local header file to include

532 Views
carlh
Contributor I

Hi,

 

First post and first time working with Code Warrior, but not with Eclipse...hence my question.

 

In Eclipse you can create sub-folders containing C code files and local header files, and Eclipse can build all the source in any sub-folder.

 

But In CW the same is not true. I created a sub-folder containing a C file which includes a local header file found in the same folder. The compiler does find and tries to compile the C file, but fails because it can't find the local header file to include....which is not standard C compiling behaviour.

 

I know that all the compiling is carried out in a different location from the source location for the project, but is there any setting to make it go back and look in the original C file folder for the local header? I'm hoping I don't have to add all the paths for all the source folders to the project.

 

thanks in advance

/carl h.

Labels (1)
0 Kudos
0 Replies