Skip to main content
freitas-renato
Associate
Mar 23, 2022 8:12 PM UTC
Solved

Is it possible to generate TouchGFX Designer files on Linux via command line?

I know TouchGFX Designer GUI is a Windows only app, but is there any way to only run the generator tool (tgfx.exe) to generate all files of a .touchgfx project on a linux machine via command line?

This topic has been closed for replies.
Osman SOYKURT
Osman SOYKURTBest answer
ST Technical Moderator
Apr 5, 2022 11:22 AM UTC

Hello,

You can run the generator with "Wine" on Linux systems. I'll let you know when I'll have more info about any plan to make an official solution running on Linux.

/Osman

ST Software Developer | TouchGFX

8 replies

Osman SOYKURT
ST Technical Moderator
Apr 1, 2022 9:50 AM UTC

Hello freitas-renato,

Not that I know, TouchGFX Designer and the generator are compatible with Windows only.

/Osman

ST Software Developer | TouchGFX
freitas-renato
Associate
Apr 4, 2022 7:25 PM UTC

Thank you for replying.

Do you know if there are any plans to make the generator cli available on linux? I'm trying to setup a container for my project with all dependencies, but the tgfx generator is the only missing piece.

Osman SOYKURT
Osman SOYKURTBest answer
ST Technical Moderator
Apr 5, 2022 11:22 AM UTC

Hello,

You can run the generator with "Wine" on Linux systems. I'll let you know when I'll have more info about any plan to make an official solution running on Linux.

/Osman

ST Software Developer | TouchGFX
AndrewM
Associate III
Apr 13, 2022 12:59 AM UTC

I generate code from the designer on windows into a shared directory (eg C:\VMShared\project\) which I then access from a Linux VM. One slight complication is that I need to have a work area in Linux (eg ~/project/) that is separate to the shared folder (eg /mnt/hgfs/VMShared/project/) and use eg meld on Linux to diff between the two folders. This is because compiling directly within /mnt/hgfs is very slow and frequently leads to linker errors.