Skip to main content
Associate II
February 18, 2025
Solved

touchgfx error during generating code

  • February 18, 2025
  • 2 replies
  • 1460 views

Hi there,

There is the following error in TouchGFX when I try to Generate Code, even for the previous projects that already generated code successfully. I uninstall and reinstall it and try other versions, but it failed again. 

 

the message of the error:

Generate Assets
make -f simulator/gcc/Makefile assets -j8
The system cannot find the file specified.
Failed
Failed

Best answer by STjohn

Thank you for your patience and guidance. The issue was resolved, it was related to a change in "Environment Variables" in windows that I edited few days ago.

2 replies

GaetanGodart
Technical Moderator
February 18, 2025

Hello @STjohn and welcome to the community!

 

Could you share your project?

If you can't, what are the steps to reproduce the issue?
It looks like the Makefile is unavailable. Perhaps you have deleted it, moved it or you generated code in STM32CubeMX with the wrong toolchain (it should be STM32CubeIDE if you want to flash from TouchGFX Designer).

 

Regards,

STjohnAuthor
Associate II
February 18, 2025

Thank you for responding,

All my touchgfx projects ran successfully on the other PC, but I have this issue only with a special PC that it also worked fine until a couple days ago.

I attached a sample project that generated code successfully on the other PC except my PC. 

GaetanGodart
Technical Moderator
February 18, 2025

No problem!

So I guess it is a configuration issue, not much I can help with. But since it works on another PC it is ok with you.

You have not attached anything. :)

 

Regards,

GaetanGodart
Technical Moderator
February 19, 2025

That is great to hear! :smiling_face_with_smiling_eyes:

 

Regards,