Skip to main content
freitas-renato
Associate
March 23, 2022
Solved

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

  • March 23, 2022
  • 8 replies
  • 3120 views

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.
Best answer by Osman SOYKURT

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

8 replies

Osman SOYKURT
ST Technical Moderator
April 1, 2022

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
April 4, 2022

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
April 5, 2022

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
April 13, 2022

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.