Skip to main content
Angle
Associate III
Jan 3, 2023 7:53 AM UTC
Question

fatal error: stm32h7xx_hal.h: No such file or directory

Hi, i keep getting this error. how can i solve it?

im using stm32h750-disco and touchgfx

This topic has been closed for replies.

9 replies

Yoann KLEIN
ST Employee
Jan 3, 2023 8:40 AM UTC

Hello @Angle​ ,

Which version of TouchGFX are you using ?

Did you generate code both in Designer and CubeMX ?

/Yoann

Yoann KLEINST Software Developer | TouchGFX
Angle
AngleAuthor
Associate III
Jan 3, 2023 8:42 AM UTC

touchgfx version 4.20 and stm32h750-dk eval board. no i generated code using stm32cube ie

Yoann KLEIN
ST Employee
Jan 3, 2023 9:04 AM UTC

Could you please try with TouchGFX v.4.21.0 and let me know ?

Thanks,

/Yoann

Yoann KLEINST Software Developer | TouchGFX
Yoann KLEIN
ST Employee
Jan 3, 2023 1:15 PM UTC

Hello,

That is a very strange issue, are you sure that you are working in a project where you have the permissions to modify files ?

Did you try to create a new project using the stm32h750-disco board setup in TouchGFXDesigner, or did you generate code in a project created with a previous version ?

Can you also share your text.xml file please ?

/Yoann

Yoann KLEINST Software Developer | TouchGFX
Angle
AngleAuthor
Associate III
Jan 4, 2023 12:35 AM UTC

yess. I did try both. I create the new project and also generated code with previous project using new version.

share already

Yoann KLEIN
ST Employee
Jan 4, 2023 9:47 AM UTC

Hello,

Yes you can try to uninstall TouchGFX in another folder and try to create a new project also in a different folder.

Another question, why did you share the xml reader, validator and write ruby scripts in your .rar file ?

Please let us know how it is going.

/Yoann

Yoann KLEINST Software Developer | TouchGFX
Angle
AngleAuthor
Associate III
Jan 5, 2023 12:32 AM UTC

you ask me to share the text.xml file but i don't which one or where can i get the xml file.

Btw after i do some research. many say to include the path in G++ Compiler but where can i get or search for the library to put it into the path?