Header file inclusion is showing error even though folder path is present in the include path

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

Header file inclusion is showing error even though folder path is present in the include path

1,079 Views
rakesh-meena_ola
Contributor I

I am encountering a header file inclusion error in my C project, even though I have added the folder path to the include path. I'm seeking assistance to understand and resolve this issue.

Problem:
1. I have added the folder path containing my header files to the include path in my project settings as shown in the screenshot below.

Include_folder.jpgCode_error.jpgProject_Settings.jpgproject_explorer.jpg


2. I am trying to include a specific header file using #include "trcRecorder.h".
3. However, the compiler is still giving me an error, stating that it cannot find the header file.

What I've Checked:
1. The folder path is correctly added to the include path in the project settings.

2. The header file is located in the specified folder.

3. There are no typos in the header file name or the include statement.

4. If we right click the header file, we are able to open the file. It means that S32DS is able to detect the file.

I would appreciate any insights or suggestions to troubleshoot this issue. Is there anything else I should check, or are there common pitfalls I might be missing?

Thank you for your assistance!

0 Kudos
Reply
1 Reply

1,030 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

can you please share full output from build console? 

0 Kudos
Reply