2023-06-19 04:30 AM - last edited on 2023-06-19 07:35 AM by Yoann KLEIN
TouchGFX 4.22.0 is now out.
Please follow this link to download it.
Release details :
Release date: June 19th, 2023
New TouchGFX Designer Features:
Bugfixes in TouchGFX Designer:
New TouchGFX Core Features:
Bugfixes in TouchGFX Core:
Feel free to learn more about our new features by looking into our documentation !
Attention : TouchGFX Designer 4.22.0 MUST be used with STM32CubeMX 6.8.0 or above (link to download STM32CubeMX 6.8.0).
Attention : If X-CUBE-TOUCHGFX 4.22.0 is not available in STM32CubeMX software yet, please navigate to "Help > Manage embedded software packages > STMicroelectronics > X-CUBE-TOUCHGFX". Then click on "From Local ..." and navigate to the x-cube-touchgfx-4-22-0.zip file to install the new pack inside STM32CubeMX.
2023-07-10 07:26 AM
Hi @Osman SOYKURT ,
Appreciate your response! Weirdly, this crash actually happens on ALL projects, including the provided templates/examples. Oddly enough, I've been able to open my project on a co-workers computer, as well as an AWS EC2 Windows VM I spun up as a test. I'm running off a fresh install of Windows 10 Professional Edition on a QEMU/KVM virtual machine. I filed a support ticket so I'll reply again in this thread if I figure out what specifically on my machine is causing the crash!
2023-08-06 07:17 AM - edited 2023-08-06 07:27 AM
After I switched from version 4.21 to 4.22, I can no longer generate the target.
The TouchGFX simulator and under Visual Studio the program runs without problems.
Run Target
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j10 -Wno-error=sequence-point
Reading ./application.config
Reading ./target.config
Done
Post Generate
touchgfx update_project --project-file=../EWARM/EVK101008AB.ewp --gui-group-name=Application/User/TouchGFX/gui --generated-group-name=Application/User/TouchGFX/generated && touchgfx update_project --project-file=simulator/msvs/Application.vcxproj && touchgfx update_project --project-file=../MDK-ARM/EVK101008AB.uvprojx --gui-group-name=Application/User/TouchGFX/gui --generated-group-name=Application/User/TouchGFX/generated
Done
Compile
make -f ../gcc/Makefile -j10 -Wno-error=sequence-point
Reading TouchGFX/application.config
Reading TouchGFX/target.config
Linking TouchGFX/build/bin/target.elf
Middlewares/ST/TouchGFX/touchgfx/lib/core/cortex_m7/gcc\libtouchgfx.a(PainterRGB888.o): In function `touchgfx::PainterRGB888::tearDown() const':
(.text._ZNK8touchgfx13PainterRGB8888tearDownEv+0x0): undefined reference to `touchgfx::paint::tearDown()'
collect2.exe: error: ld returned 1 exit status
gcc/Makefile:431: recipe for target 'TouchGFX/build/bin/target.elf' failed
make[2]: *** [TouchGFX/build/bin/target.elf] Error 1
gcc/Makefile:427: recipe for target 'generate_assets' failed
make[1]: *** [generate_assets] Error 2
make: *** [all] Error 2
../gcc/Makefile:54: recipe for target 'all' failed
Failed
Failed
Can you give me a hint.
Regards, Roger
2023-08-07 04:32 AM
2023-08-18 06:01 PM
This version still crashes when I try and create a new project on a network drive.
2023-08-21 10:48 PM
Hi @HRidd.2
Do you have any news about this bug? I have exactly the same problem here. Setup a new Windows 10 Pro VM and im not able to open the project with V4.22.0. It always throws the error "Failed to load native freetype library!". My application uses just one text element with the default verdana.ttf font which is also part of the example project.
On several other machines it runs without problems.
Does this error only occur, because we are running TouchGFX within a VM?
2023-09-12 09:50 AM
Hi @MMess.1,
I am having the same issue "Failed to load native freetype library" error. Also running Touchgfx in a VM. Were you able to solve it or make any progress?
2023-09-12 09:55 AM
I recently updated to TouchGFX 4.22.0. When I try to update/run my project I get the"Failed to load native freetype library" error. I am still able to run the project on the previous version 4.21.4 I am running TouchGFX in the Windows 10 Virtual Machine setting. Is there any fix for this? Do we know why it's happening? Please help!
2023-09-12 10:33 PM
Hi @JJYodd
yes i was able to fix it. You have to install the visual c++ redistributable package from Microsoft. The freetype library depends on it but is not installed by touchgfx.
Best regards
2023-09-14 02:21 AM
This worked!!! Thanks a lot.
2023-11-07 03:47 AM
Have I found another bug?
Cant create animated images. It says I have duplicate name images. But I dont.
Source folder:
It is not even possible to have two same name images in same directory.