2025-11-18 2:22 AM
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/Makefileon Ubuntu 24.04.
ST, can you update your scripts to be compatible with Ruby 3.2 for TouchGFX 4.27 ?
Thank you
2025-12-17 5:32 AM
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.