Skip to main content
AWack
Associate III
February 1, 2024
Question

Compiler error when using TouchGFX code

  • February 1, 2024
  • 1 reply
  • 1439 views

I´ve created a project with TouchGFX, which works fine.

When I try to compile the project in CubeIDE I get the error ModelListener.hpp:9: undefined reference to `vtable for ModelListener

What could be the reason?

 

Best regards,

 

Achim

1 reply

Graduate II
February 1, 2024

Hello

Have you modified the modelListener.hpp ? 

Here seems to be same error

message https://community.st.com/t5/stm32cubeide-mcus/touchgfx-uart-to-ui-without-rtos/td-p/58712

Br JTP

AWack
AWackAuthor
Associate III
February 1, 2024

Hi,

 

I´ve nothing changed in the lines where the error occurs (contructor / destructor). And compiling with TouchGFX is sucessful! Only compiling with STM32CubeIDE fails!

I´ve the same code in an older project and it was possible to compile.

Best regards,

Achim