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

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

  • March 29, 2023
  • 3 replies
  • 1040 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.

3 replies

N. SANTINI
ST Employee
April 20, 2023

Hi,

Did you already check the following article?

Known Issues | TouchGFX Documentation 4.20

Best regards,

Nicolas

Osman SOYKURT
ST Technical Moderator
May 8, 2023

Hello victor.wu,

As my colleague N. SANTINI said, I invite you to have a look at the article Known Issues | TouchGFX Documentation 4.20.

You'll probably just need to regenerate code from STM32CubeMX and regenerate code on Designer afterward. Let us know if it works and if that resolves your issue I'll let you select the best answer and close your thread.

/Osman

ST Software Developer | TouchGFX
victor.wu
victor.wuAuthor
Associate III
May 9, 2023

Yes, rebuilding the project via cubemx will solve this problem, thank you for your answer