TouchGFX/App/app_touchgfx.o: in function `MX_TouchGFX_Init'
- March 29, 2021
- 19 replies
- 8015 views
***Settings
MCU: STM32F405RG
CubeMx: 6.2.0
CubeIDE: 1.6.0
TouchGFX: 4.16.1
Firmware Package: FW_F4 1.26.0
I am trying to port a program designed in Windows to firmware.
STM32CubeIDE was the first time I used it, so I studied it through the community.
And, I proceeded the work in the following order.
1.Select MCU via STM32Cubemx
2. Pinout setting
3. Select TouchGFX from software pack
4. generate code
5. Create 1 page with shapes in TouchGFX
6. generate code
7. Run STM32CubeIDE
8. Run Debug
For reference, I haven't written any user code.
Then the following message appeared.
TouchGFX/App/app_touchgfx.o: in function `MX_TouchGFX_Init'
undefined reference to 'touchgfx_init'
Settings related to TouchGFX appear to be a problem, but I haven't been able to find the cause.
Could you please let me know the problem?

