Skip to main content
MMARI.1
Senior II
Aug 21, 2025 10:52 AM UTC
Solved

stm32h723_touchGFX_tocuhcontroller.CPP _not_attach_with _touch.h file

hi, 

i am trying to attach a Touch Sensor header file  with touchGFX STM32TouchController.cpp file but it's showing error .

MMARI1_0-1755773331061.png

the Touch_Sensor.h & Touch_Sensor.c file are include project file and further included via path location ( Properties ->General -> path.).

 

This topic has been closed for replies.
MMARI.1
MMARI.1Best answer
Senior II
Aug 21, 2025 3:10 PM UTC

hi,

(Touch_Sensor.h & Touch_Sensor.c) file  path location add must be  with GNC C++ too will eliminate the issue .

earlier i have  made(Touch_Sensor.h & Touch_Sensor.c) file  path location  only with GNC C  .

2 replies

TDK
Aug 21, 2025 12:32 PM UTC

Does the project build okay? If the compiler can't find it, you're probably missing something. Show your include settings and show the location of the file.

"If you feel a post has answered your question, please click ""Accept as Solution""."
MMARI.1
MMARI.1AuthorBest answer
Senior II
Aug 21, 2025 3:10 PM UTC

hi,

(Touch_Sensor.h & Touch_Sensor.c) file  path location add must be  with GNC C++ too will eliminate the issue .

earlier i have  made(Touch_Sensor.h & Touch_Sensor.c) file  path location  only with GNC C  .