CubeMX 5.1.0 with TouchGFX never compiles in TrueStudio
I started the project in CubeMX 5.1.0 from STM32F746DISCO board and it compiles ok, but when I add TouchGFX graphics TrueStudio always returns error when build.
The errors are similar like "undefined reference to `MX_FREERTOS_Init()" or "undefined reference to `typeinfo for touchgfx::DMA_Interface". But for example the function "MX_FREERTOS_Init()" is properly declared.
I've starded in CubeMX from board, from MCU, tried in differents ways but in the end always the same result.
Anyone was able to build ok from CubeMX and TouchGFX in TrueStudio?