Skip to main content
Associate
Jan 20, 2025 2:15 PM UTC
Solved

Touch GFX Designer Not Generating Code or Compiling - Command Not Found Error

Generating Code / Run Simulator / Program and Run Target (F4 / F5 / F6) commands fail.

Output: 

ggas_0-1737381485890.png

which means "command not found" or "is not recognized as an internal or external command,
operable program or batch file." in english.
The funny thing is, that when the build commands are started from the MINGW envrionment, it works.

But thanks to several days of digging and comparison to an other machine where it works, I was finally able to find the culprit: on the broken machine, I had a directory with an "&" in the path envrionment variable (thanks to my company's name "... GmbH & Co KG"). This directory is totally unrelated to ST stuff but nevertheless breaks building from within TouchGFX Designer (and also from tgfx.exe).

 

Short term solution until bugfix: make sure no "&" lingers in your PATH variable!
 

This topic has been closed for replies.
ggasBest answer
Associate
Jan 20, 2025 4:09 PM UTC

Short term solution until bugfix: make sure no "&" lingers in your PATH variable!

1 reply

ggasAuthorBest answer
Associate
Jan 20, 2025 4:09 PM UTC

Short term solution until bugfix: make sure no "&" lingers in your PATH variable!