Unable to find the.h file I wrote

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

Unable to find the.h file I wrote

612 Views
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 Kudos
3 Replies

599 Views
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 Kudos

592 Views
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 Kudos

588 Views
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 Kudos