Skip to main content
victor.wu
Associate III
March 28, 2023
Question

touchgfx 4.21.3 generates code error, Undefined symbol touchgfx::paint::tearDown()

  • March 28, 2023
  • 2 replies
  • 908 views

hi guys,

  I created a project, which was done with touchgfx 4.20.0. After the software has a new version 4.21.3, I use it to open the old version. After generating the code, a compilation error occurs, and the prompt is as follows

h7b0_vbt_touchgfx\h7b0_vbt_touchgfx.axf: Error: L6218E: Undefined symbol touchgfx::paint::tearDown() (referred from painterrgb565.o).

 I can't find the reason, can you help me to find the reason? Thank you for your support.

This topic has been closed for replies.

2 replies

Yoann KLEIN
ST Employee
March 30, 2023

Hello @victor.wu​,

Did you think about regenerating code on TouchGFX 4.21.3 ?

Also, did you use CubeMX ?

/Yoann

Yoann KLEINST Software Developer | TouchGFX
victor.wu
victor.wuAuthor
Associate III
March 30, 2023

Yes, I thought of this possibility, so I used cubemx to regenerate the code, and the compilation passed, but a new problem appeared again, and the display was sometimes blurred, so I have to continue to troubleshoot the problem, thank you for your answer