2025-05-17 3:37 PM
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!
2025-05-19 2:28 AM
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,
2025-06-02 1:54 AM
Hello @Rafla ,
Have you been able to move forward on your project?
Regards,