TouchGFX 4.18 does not get compiled in STM32CubeIDE
I have used last released TouchGFX 4.18 to add one .avi video from TouchGFX sample videos to my project but this project does not get compiled in STM32CubeIDE no way and it gives me an error that is listed below:
c:\st\stm32cubeide_1.7.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_2.0.0.202105311346\tools\arm-none-eabi\bin\ld.exe: ./VideoWidget.o: in function `touchgfx::VideoWidget::~VideoWidget()': C:/TouchGFXProjects/MyApplication_5/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/VideoWidget.cpp:32: undefined reference to `touchgfx::VideoController::getInstance()'
c:\st\stm32cubeide_1.7.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_2.0.0.202105311346\tools\arm-none-eabi\bin\ld.exe: ./VideoWidget.o: in function `touchgfx::VideoWidget::handleTickEvent()':
C:/TouchGFXProjects/MyApplication_5/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/VideoWidget.cpp:68: undefined reference to `touchgfx::VideoController::getInstance()'
c:\st\stm32cubeide_1.7.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_2.0.0.202105311346\tools\arm-none-eabi\bin\ld.exe: ./VideoWidget.o: in function `touchgfx::VideoWidget::draw(touchgfx::Rect const&) const':
C:/TouchGFXProjects/MyApplication_5/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/VideoWidget.cpp:104: undefined reference to `touchgfx::VideoController::getInstance()'
c:\st\stm32cubeide_1.7.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_2.0.0.202105311346\tools\arm-none-eabi\bin\ld.exe: ./VideoWidget.o: in function `touchgfx::VideoWidget::VideoWidget()':
C:/TouchGFXProjects/MyApplication_5/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/VideoWidget.cpp:26: undefined reference to `touchgfx::VideoController::getInstance()'
c:\st\stm32cubeide_1.7.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_2.0.0.202105311346\tools\arm-none-eabi\bin\ld.exe: ./VideoWidget.o: in function `touchgfx::VideoWidget::play()':
C:/TouchGFXProjects/MyApplication_5/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/VideoWidget.cpp:38: undefined reference to `touchgfx::VideoController::getInstance()'
c:\st\stm32cubeide_1.7.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_2.0.0.202105311346\tools\arm-none-eabi\bin\ld.exe: ./VideoWidget.o:C:/TouchGFXProjects/MyApplication_5/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/VideoWidget.cpp:63: more undefined references to `touchgfx::VideoController::getInstance()' follow
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:89: STM32F746G_DISCO.elf] Error 1and the function getInstance() witch error is because of that, is defined(declared) in the file " VideoController.hpp" under project root "Middlewares\ST\touchgfx\framework\include\touchgfx\hal" .
I have done nothing else than creating a TouchGFX project and then add it to STM32CubeIDE workspace.
Please help me. I did every thing to project but still does not work.