Skip to main content
MMARI.1
Senior II
August 21, 2025
Solved

stm32h723_touchGFX_tocuhcontroller.CPP _not_attach_with _touch.h file

  • August 21, 2025
  • 2 replies
  • 715 views

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.).

 

Best answer by MMARI.1

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
Super User
August 21, 2025

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
August 21, 2025

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  .