cancel
Showing results for 
Search instead for 
Did you mean: 

Build Error in TouchGFX Simulator: i2c_data.h Not Found

Rafla
Associate III

Hello everyone,

I’m working on an STM32 project using TouchGFX and STM32CubeIDE. The code compiles fine on the real target, but when I try to build the TouchGFX Simulator, I get the following error repeatedly:

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

 

  • The i2c_data.h file is present in my project under Core/Inc.

  • It seems the simulator build does not include the folder containing i2c_data.h in its include paths.

Any guidance on:

  • How to add additional include directories for the TouchGFX simulator?

 

Thank you very much for your help!

 

2 REPLIES 2
GaetanGodart
ST Employee

Hello @Rafla ,

 

You will find your answer in this thread : https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/error-1-2-in-touchgfx-simulator/m-p/785481#M42578

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)
GaetanGodart
ST Employee

Hello @Rafla ,

 

Have you been able to move forward on your project?

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)