Skip to main content
Associate
July 31, 2023
Solved

TouchGFX crashes on project creation

  • July 31, 2023
  • 4 replies
  • 4241 views

Hi,

I've installed TouchGFX following the instruction at https://support.touchgfx.com/docs/introduction/installation on a completely new installation of windows 10. When I try to create a project, TouchGFX crashes at 88% and simply closes. When I checked the TouchGFXDesigner.log file the error is System.IO.FileLoadException: Failed to load native freetype library!

Any idea how I can fix this?

Please see attached log file.

Thank for your help. Looking forward to get the designer working.

Richard

Best answer by Mohammad MORADI ESFAHANIASL

Hello @Richard64,

I apologize for the issue you are facing. Our team is actively working on a solution, and we hope to have it resolved soon. In the meantime, you can use TouchGFX 4.21.4 as a temporary workaround. Once the new patch is available, you can easily upgrade your project to the latest version

4 replies

ST Employee
July 31, 2023

Hello @Richard64,

I apologize for the issue you are facing. Our team is actively working on a solution, and we hope to have it resolved soon. In the meantime, you can use TouchGFX 4.21.4 as a temporary workaround. Once the new patch is available, you can easily upgrade your project to the latest version

Visitor II
April 24, 2024

Hello - I am experiencing this issue with the latest TouchGFX Designer (4.23.2) on a brand new Windows 11 machine.  I cannot run an earlier build of TouchGFX Designer because other people on my team are using 4.23.2 and the file formats are not compatible.  Any suggestions?  Thanks!

ST Employee
April 30, 2024

Hello @ghassett ,

Could you please open a new ticket? 
It would be easier for us to track the issue because it is not related to TouchGFX 4.21.x anymore

Thank you 

Richard64Author
Associate
August 1, 2023

Thank you so much Mohammad for the quick response. That fixed the issue.

Have a good day,

Richard

 

ST Employee
August 2, 2023

Glad to hear I could help. 

Senior II
August 2, 2023

I have a much higher success rate (I mean finished code generation instead of crashed program) when keeping the window focus to the Designer and not clicking anywhere till it is done. It almost always crashes when I change the window focus to a web browser, CubeIDE or something else.

Edit: oh I see this is about project creation. I have lots of crashes during code generation and was talking about this.

ST Employee
December 4, 2023

Hello @Richard64 ,

Based on our investigations, having an old version of Visual C++ will cause this error (Failed to load native freetype library). Please try to install the latest version of it. You can download it from here:
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022
 

I hope it helps

Richard64Author
Associate
January 2, 2024

Yep, I can confirm that the latest version of Visual C++ fixed the issue.

Thank you!:thumbs_up: