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-06-19 07:04 PM - edited 2023-06-19 07:19 PM
I installed using the mentioned steps.
Mine is a clean installation after uninstalling all previous versions.
I tried to load a demo application directly from TouchGFX into my STM32H747I-DISCO and it shows error like this.
-----------------------------------------------------------------------------------------------------------------
Generate Code
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
Reading ./target.config
C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/win32/registry.rb:910:in `encode': U+00AE to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 (Encoding::UndefinedConversionError)
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/win32/registry.rb:910:in `export_string'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/win32/registry.rb:611:in `each_key'
C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/win32/registry.rb:910:in `encode' from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/msys2_installation.rb:62:in `block in iterate_msys_paths':
U+00AE to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 (Encoding::UndefinedConversionError from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/win32/registry.rb:435:in `open'
)
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/win32/registry.rb:542:in `open'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/msys2_installation.rb:61:in `iterate_msys_paths'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/win32/registry.rb:910:in `export_string'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/msys2_installation.rb:89:in `msys_path' from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/win32/registry.rb:611:in `each_key'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/msys2_installation.rb:62:in `block in iterate_msys_paths' from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/msys2_installation.rb:102:in `mingw_bin_path'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/win32/registry.rb:435:in `open'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/msys2_installation.rb:112:in `enable_dll_search_paths'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/win32/registry.rb:542:in `open'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/singleton.rb:27:in `enable_dll_search_paths'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/msys2_installation.rb:61:in `iterate_msys_paths'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/rubygems/defaults/operating_system.rb:3:in `<top (required)>'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/msys2_installation.rb:89:in `msys_path' from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/rubygems.rb:1348:in `require'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/rubygems.rb:1348:in `<top (required)>'
from <internal:gem_prelude>:2:in `require'
from <internal:gem_prelude>:2:in `<internal:gem_prelude>'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/msys2_installation.rb:102:in `mingw_bin_path'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/msys2_installation.rb:112:in `enable_dll_search_paths'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/site_ruby/3.0.0/ruby_installer/runtime/singleton.rb:27:in `enable_dll_search_paths'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/rubygems/defaults/operating_system.rb:3:in `<top (required)>'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/rubygems.rb:1348:in `require'
from C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/rubygems.rb:1348:in `<top (required)>'
from <internal:gem_prelude>:2:in `require'
from <internal:gem_prelude>:2:in `<internal:gem_prelude>'
generated/simulator/gcc/Makefile:229: recipe for target 'videos' failed
make[1]: *** [videos] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [texts] Error 1
generated/simulator/gcc/Makefile:225: recipe for target 'texts' failed
make: *** [assets] Error 2
simulator/gcc/Makefile:32: recipe for target 'assets' failed
Failed
Failed
---------------------------------------------------------------------------------------------------------
Please help
2023-06-20 04:44 AM
Hello @NSeba ,
Does your app work on previous versions of Designer?
Your issue looks a lot like this one. As I can see there's a conversion error from UTF-16LE to IBM437 characters. Is your computer in an other language than English? If it's the case, trying the solution suggested in the thread could be a help until we find a solution which doesn't require much user side.
/Osman
2023-06-20 05:59 AM
My applications were working perfectly in version 4.21.1.
This issue started after I upgraded to 4.21.4. The issue persisted after I downgraded back to 4.21.1
Then I installed 4.22.0 from ST website and it also doesn't work.
My system language is English only. Do I need to make any changes in locale ?
I cannot reinstall windows as there are other licensed software.
2023-06-20 08:31 AM - edited 2023-06-20 08:32 AM
Update: Mine started working after I made UTF-8 system wide.
I don't know what trouble it is going to make with other applications
2023-06-21 02:01 AM
@NSeba good to hear you have a solution to your issue, thank you for sharing. We'll see what we can do for this issue.
/Osman
2023-06-21 11:36 AM - edited 2023-06-26 09:28 PM
Hi,
I will post my Touch GFX activities and project on other forum
2023-06-26 01:04 AM
Hello @INaee.1 ,
Your message has nothing related to TouchGFX 4.22 release, I'm sorry to tell you it's not the place to write it here.
I invite you to create a new conversation if you need help, hopefully someone would give you hints to solve your issue.
2023-07-09 06:30 AM
Sadly, this release doesn't work at all for me on Windows 10! Which is a bummer since I really, really want to try the new image compression feature. I get an error "Failed to load native freetype library!" every time I try to load any project, even the provided examples. See attached log for more details. Version 4.21.4 worked fine, not sure what changed...
2023-07-10 04:06 AM
Hello @HRidd.2 ,
Thank you for reporting your issue. We suspect there's a font in your project that TouchGFX Designer can't read. You could try to identify which one it is and remove it from your project.
We'll try to investigate on our side as well, I'll keep you updated when I'll have more news. Let me know if you succeed to open your project in TouchGFX 4.22.0 after trying what I said.