cancel
Showing results for 
Search instead for 
Did you mean: 

Error Linking Project with TouchGFX Designer

RMAST.1
Associate

Dear ST Support Team,

I am writing to report a bug that I have encountered while using the STM32U585 microcontroller with FMC communication, the ST7789v LCD, IAR 8.50.9, and TouchGFX Designer v4.21.3.

I have successfully ported the virtual API stack of TouchGFX to support my ST7789v LCD, and overall, the integration is functioning correctly. However, I have encountered an error during the project linking phase when attempting to use the tabs in TouchGFX Designer to draw lines or borders. The error message is as follows:

"Error[Li005]: no definition for 'touchgfx::paint::tearDown()' [referenced from PainterRGB565.o(touchgfx_core.a)]"

Configuration:

Microcontroller: STM32U585

LCD: ST7789v

Communication: FMC

IDE: IAR 8.50.9

TouchGFX Designer Version: v4.21.3

Steps to Reproduce:

Launch TouchGFX Designer v4.21.3.

Attempt to use the tabs in TouchGFX Designer to draw lines or borders.

During the project linking phase, encounter the following error:

"Error[Li005]: no definition for 'touchgfx::paint::tearDown()' [referenced from PainterRGB565.o(touchgfx_core.a)]"

Additional Information:

I have properly ported the virtual API stack of TouchGFX to support my ST7789v LCD, and the majority of features and functionalities are working as expected. However, this specific error occurs when using the tabs in TouchGFX Designer.

I kindly request your support in addressing this bug and providing guidance or a solution to resolve the error encountered during the project linking phase.

Thank you for your attention and assistance.

Best regards,

Ridha MASTOURI.

1 REPLY 1
MM..1
Chief III

Try read Canvas Widgets | TouchGFX Documentation

specialy the Designer will select the correct painter, but if you write code yourself that uses Canvas Widgets, you must select a suitable painter.

Too you can edit painter and comment teardown

Middlewares\ST\touchgfx\framework\source\touchgfx\widgets\canvas\PainterRGB565.cpp