Skip to main content
Associate
January 20, 2025
Solved

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

  • January 20, 2025
  • 1 reply
  • 896 views

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!
 

Best answer by ggas

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

1 reply

ggasAuthorBest answer
Associate
January 20, 2025

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