cancel
Showing results for 
Search instead for 
Did you mean: 

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

victor.wu
Associate II

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.

2 REPLIES 2
Yoann KLEIN
ST Employee

Hello @victor.wu​,

Did you think about regenerating code on TouchGFX 4.21.3 ?

Also, did you use CubeMX ?

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX
victor.wu
Associate II

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