cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX: Make the simulator buildable on Ubuntu 24.04

Jonadem
Associate II

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 1
Osman SOYKURT
ST Employee

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 SOYKURT
ST Software Developer | TouchGFX