I am getting error ../TouchGFX/gui/include/gui/model/ModelListener.hpp:9: undefined reference to `vtable for ModelListener' and ../TouchGFX/gui/include/gui/model/ModelListener.hpp:11: undefined reference to `vtable for ModelListener' on the linker stage... what can be wrong? I use version 4.22.
@@ControllersTech thank you for so fast reply! I have deleted virtual from destructor, but it did not help. This is the code now (to be able to count line number): #ifndef MODELLISTENER_HPP #define MODELLISTENER_HPP #include class ModelListener { public: ModelListener() : model(0) {} ~ModelListener() {} void bind(Model* m) { model = m; } virtual void Set_data_variable(unsigned char data_variable); protected: Model* model; }; #endif // MODELLISTENER_HPP
@@ControllersTech I put it back and deleted virtual from function set_data_variable, now I got linker error pointing on Model.c where I issue it: ../TouchGFX/gui/src/model/Model.cpp:20: undefined reference to `ModelListener::Set_data_variable(unsigned char)'
In reading ADC with DMA, the code works only if I call the osMessaging functions inside the startAdctsk function, and if I call them inside HAL_ADC_ConvCpltCallback the display doesn't work, do you have any idea about this issue?
Está súper increíble. Ojalá pueda hacer uno con estados lógicos con y sin interrupciones, desde pulsadores u otros circuitos como transistores en modo switch.
Hola, he seguido tus videos, pero estos no funcionan, tengo una placa NUCLEO-F767zi y tu misma pantalla, pero tengo duda, como activo en la funcion main.c la vista en la pantalla, lo tengo: while (1) { if ( Touch_GotATouch(0)) touchgfxSignalVSync(); /* USER CODE END WHILE */ MX_TouchGFX_Process(); } en el while(1) del main.c pero estos no se activan... que deberia hacer? ... si alguien puede ayudar en esto.. gracias y te felicito por tus videos.
Hello Sir, thank you very much for this greats video serie. Do you know why this is not working ? touchgfx::Image Images[7]; Images[0] = Image_1; Images[1] = Image_2; Images[2] = Image_3; Images[3] = Image_4; Images[4] = Image_5; Images[5] = Image_6; Images[6] = Image_7; Int i=1; Images[i].setVisible(true); Images[i].invalidate();