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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,077 次查看
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 项奖励
回复
1 回复

1,028 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

can you please share full output from build console? 

0 项奖励
回复