Skip to main content
Associate
November 18, 2025
Question

TouchGFX: Make the simulator buildable on Ubuntu 24.04

  • November 18, 2025
  • 1 reply
  • 97 views

Hi,

There is a documentation about Using TouchGFX on Linux but with TouchGFX 4.26 there is something missing to be able to build the simulator on Ubuntu 24.04.

TouchGFX 4.26 embeds Ruby 3.0.0 and Ubuntu 24.04 provides Ruby 3.2.

TouchGFX 4.26 generates Ruby scripts with a method 'exists?' which gives an error on Ruby 3.2

Using this command:

sed -i 's/exists?/exist?/g' $(find Middlewares/ST/touchgfx -type f)

I was able to do a sucessful:

make -f simulator/gcc/Makefile

on Ubuntu 24.04.

ST, can you update your scripts to be compatible with Ruby 3.2 for TouchGFX 4.27 ?

 

Thank you

1 reply

Osman SOYKURT
Technical Moderator
December 17, 2025

Hello @Jonadem ,

We are not going to update the ruby version soon I'm afraid. But I believe it's possible to have multiple version of ruby installed on your Linux machine if I'm correct, maybe that can be used as a workaround for the moment until we fix this.

Osman SOYKURTST Software Developer | TouchGFX