Skip to main content
Eric Z.
Associate II
July 4, 2024
Solved

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.

 

Screenshot 2024-07-04 104133.png

=====================================================================================

Update:

  • Demo creation shows the unexpected error.Screenshot 2024-07-04 113909.png

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)
...

Screenshot 2024-07-05 094245.png

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.

Best answer by Eric Z.

The checkbox resolved the project creation error.

EricZ_0-1720797097702.png

Running on target error might need to be discussed and resolved in other threads.

 

3 replies

Associate
July 5, 2024

Hello, I've just installed TouchGFX Designer and it gave me the same "Combination" error trying the Custom Trigger Action Example with the STM32H7B3I-DK demoboard (correct resolution). It gave me the same error for another valid example.

Closing TouchGFX Designer and restarting the system solved the problem on the next instance of TouchGFX Designer in my case.

(Probably it won't help a lot but at least it is something that is not related to that specific board and it might be easier to fix for the ST.)

Eric Z.
Eric Z.Author
Associate II
July 5, 2024

Hi Madrac, thanks for your reply. Indeed, it's not related to a specific board. Hope ST can fix this soon.  

ST Employee
July 5, 2024

Hello @Eric Z. ,

Based on the error, it seems like you are trying to create a project in a directory that was previously used. 
Could you please create a project in a different directory? (the path should not contain spaces)

And also, could you please try different projects? I wonder if it is specific to the Riverdi TBS or not

Thank you

Eric Z.
Eric Z.Author
Associate II
July 5, 2024

Hi Mohammad,

Thanks for your reply.  I've tried using different directories with different names without spaces, but no luck.  I've tried other boards, and find that all of the partner boards give the error.  Other ST boards work fine. Hope this could rule out some factors.

 

ST Employee
July 9, 2024

Hello @Eric Z. ,

I saw your updates on the post, and I'm glad that you managed to resolve the issue. 
Do the partner boards still face "Combination failed" error or face "target failed"?

Eric Z.
Eric Z.AuthorBest answer
Associate II
July 12, 2024

The checkbox resolved the project creation error.

EricZ_0-1720797097702.png

Running on target error might need to be discussed and resolved in other threads.