2024-12-24 02:47 PM
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).
Solved! Go to Solution.
2024-12-24 11:40 PM
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
2024-12-24 11:40 PM
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
2024-12-25 05:59 AM
That's certainly a step in the right direction. Thank you.
It would help if this dependency on VC++ runtime were mentioned in the read.me file or in the installation instructions.
They only say it requires Windows 10 onwards. Obviously it would not work with a clean install of Windows 10 without further undocumented steps and installing additional software.
This is reminding me why I never willingly use Windows.