TouchGFX 4.24.0 new project creation error
- July 4, 2024
- 3 replies
- 3564 views
I simply wanted to create a new TouchGFX project for Riverdi STM32 Embedded Display. It gave me "Combination of Riverdi STM32 Embedded Display & Blank UI failed" error all the time.
I've tried uninstall the legacy versions and re-install, but no luck.

=====================================================================================
Update:
- Demo creation shows the unexpected error.

Please see error log attached.
=====================================================================================
Update:
- Tried on another Win10 machine. Same error.
- Tried to re-install "VC_redist.x64". Same error.
=====================================================================================
Update:
- 4.23.0 gave the same error.
- 4.22.0 and .1 work just fine.
=====================================================================================
Update:
V4.22.0 and .1 gave failure while code generation:
...
C:/TouchGFX/4.22.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/win32/registry.rb:910:in `encode': U+7F51 to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 (Encoding::UndefinedConversionError)
...

Above checkbox fixed the encoding error.
=====================================================================================
Update:
The above checkbox fixed the V4.24.0 project creation error, but it gives me target failure during running on target.
collect2.exe: error: ld returned 1 exit status
gcc/Makefile:330: recipe for target 'TouchGFX/build/bin/target.elf' failed
make[2]: *** [TouchGFX/build/bin/target.elf] Error 1
gcc/Makefile:326: recipe for target 'generate_assets' failed
make[1]: *** [generate_assets] Error 2
make: *** [all] Error 2
../gcc/Makefile:51: recipe for target 'all' failed
Failed
Failed
As per https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/build-failing-at-bin-target-ellf/td-p/684460 suggested, I am reverting to V4.23.2 now.

