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,091件の閲覧回数
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,042件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

can you please share full output from build console? 

0 件の賞賛
返信