Unable to find the.h file I wrote

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

Unable to find the.h file I wrote

653 次查看
lixu
Contributor II

Hi,

I am using S32DS working on MPC5748G.

I wrote a .h file,and include this.h file in another C file. They are in the same directory.

But it shows the problem: No such file or directory.

h.png

Excuse me, how to solve this problem?

Thanks and best grade,

lixu

 

 

 

0 项奖励
3 回复数

640 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

check where those files are stored in your PC and be sure a proper path to this folder is added within project properties .

 

BR, Petr

0 项奖励

633 次查看
lixu
Contributor II

Hi,

I should not have added a path to the project property.

Another problem is that when I use the project in "example", when I open it in the hard drive, the .c, .h and other files under the project folder are not displayed, and there are no files in it. What is the reason for this?

Lixu

 

0 项奖励

629 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

modify a ProcessorExpert.pe file as suggested e.g. in https://community.nxp.com/t5/S32-Design-Studio/s32k-example-project-accessing-files-on-system-direct...

 

BR, Petr

0 项奖励