cancel
Showing results for 
Search instead for 
Did you mean: 

"Failed to load native freetype library"

farble1670
Associate III

Fresh Windows 11 install, fresh TouchGFX install. Started up fine, until I tried to open one of the sample projects. Now the tool won't start at all, and I just get a dialog "Failed to load native freetype library / Could not open file".

I did find: https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/touchgfx-crashes-on-project-creation/td-p/578159

Unclear exactly what was the suggestion. Someone said "install a newer version of VC++", but I don't have that installed and I don't want to have it installed. There is a link to the C++ redistributable in that thread, which I did install, but it made no difference.

1 ACCEPTED SOLUTION

Accepted Solutions
LouisB
ST Employee

Hello @farble1670,

It's fine, can you confirm you download the x64 version ? 

LouisB_0-1718269659611.png

I hope it helps,

Louis BOUDO
ST Software Developer | TouchGFX

View solution in original post

5 REPLIES 5
LouisB
ST Employee

Hello @farble1670 , First welcome to the TouchGFX forum !

You have to install the latest version of VC++, TouchGFX designer is dependant of that. Which version have you downloaded ?

Regards,

Louis BOUDO
ST Software Developer | TouchGFX

I downloaded the VC++ redistributable from here: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022 and installed, per the other forum link. That did not solve the problem. Am I missing something?

I should add, I'm new to embedded development, and Windows' development environment, so I apologize if I'm missing something obvious.

LouisB
ST Employee

Hello @farble1670,

It's fine, can you confirm you download the x64 version ? 

LouisB_0-1718269659611.png

I hope it helps,

Louis BOUDO
ST Software Developer | TouchGFX

You're right, I installed the x86 version. I read "ARM support" and thought "well I don't need that". It's starting up now.

Sorry for the confusion.

LouisB
ST Employee

Hello @farble1670,

Glad it worked, please put a my answer as solution so other can directly see the solution to that issue.

 

Regards,

Louis BOUDO
ST Software Developer | TouchGFX