cancel
Showing results for 
Search instead for 
Did you mean: 

fatal error coming

aiswarya
Associate

we are facing following errors during compilation:
1. fatal error: cmsis_os2.h: No such file or directory OSWrappers.cpp /STM32U5G9J-DK2/Application/User/TouchGFX/target/generated line 22 C/C++ Problem

2.Description Resource Path Location Type
fatal error: cmsis_os2.h: No such file or directory STM32U5G9J-DK2 line 24 C/C++ Problem

3.Description Resource Path Location Type
fatal error: nema_sys_defs.h: No such file or directory nema_hal.c /STM32U5G9J-DK2/Application/User/TouchGFX/target/generated line 31 C/C++ Problem

4.Description Resource Path Location Type
fatal error: touchgfx_nema/HALGPU2D.hpp: No such file or directory STM32U5G9J-DK2 line 21 C/C++ Problem

5.Description Resource Path Location Type
fatal error: touchgfx_nema/LCDGPU2D.hpp: No such file or directory TouchGFXConfiguration.cpp /STM32U5G9J-DK2/Application/User/TouchGFX/target/generated line 24 C/C++ Problem

1 REPLY 1
Imen.D
ST Employee

Hello @aiswarya ,

It seems that you have missing or incorrect paths.

So, ensure that all required include paths are correctly set up in your project settings. 

  • Go to Project Properties -> C/C++ Build -> Settings -> Tool Settings -> Includes and add the correct paths to your include directories.
When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen