cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Demos

TJack.2
Associate III

1.

I have TouchGFX Designer 4.24.2 and STM32CubeMX running on Windows 11.  I downloaded the demos and examples via the file menu, also the latest TouchGFX Generator via CubeMX.  I am targetting a NUCLE0 STM32G071 with GFX01M2($AZ2) display, so I selected the demos for that board, and have tried several of them, giving each a project name and pressing Create.  In each case the progress bar goes to 88% then the program closes. 

If I restart TouchGFX Designer and try to open the project it has created in "TouchGFX Projects" folder, I get the error "Failed to open native freetype library".  If I manage to import the projects (individually) to STM32CubeIDE (1.17.0) they appear to be missing some header files and do not compile. The configured paths (in project properties) appear to be wrong.

I also downloaded TouchGFX 4.22.0, thinking it may be a compatibility issue, but it did the same thing.

 

2.

Is it feasible to run TouchGFX designer on Windows, then import the project into STM32CubeIDE running on Linux for debugging, or do I have to run everything on Windows?  Or maybe with CubeMX on Windows.  Booting back and forth gets to be a pain.  I did try to run it on an old Windows10 machine, but I guess it didn't have enough memory, I got spectacular crashes (the current machine has 16 GB).

1 REPLY 1
Imen.D
ST Employee

Hello @TJack.2 ,

Try to install the latest version of VC++. Maybe you have same issue as reported in these posts:

Solved: "Failed to load native freetype library" - STMicroelectronics Community

Solved: TouchGFX crashes on project creation - STMicroelectronics Community

 

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen