cancel
Showing results for 
Search instead for 
Did you mean: 

Generate Code & Run Simulator Fail

Iris-DM
Associate III

I have come back to TouchGFXDesigner after not using it for about 6 months. I have updated to 4.26.0 and created a new blank project for the STM32H747I-DISCO board. When trying to generate code, I get the following error message:

Generate Code
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
'M' is not recognized as an internal or external command,
operable program or batch file.
Failed
Failed

Looking through the Makefile, I can't see anywhere that this 'M' would be generated, and make isn't overridden in my environment variables.

13 REPLIES 13
Iris-DM
Associate III

I can compile via the TouchGFX environment if I call:
$ make -f simulator/gcc/Makefile -j6
$ touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
$ touchgfx update_project

But TouchGFX Designer still gives me the 'M' is not recognized as an internal or external command error for the same process

Osman SOYKURT
ST Employee

Hello @Iris-DM ,

Could you confirm me that the version of the TBS  that you use is 3.0.19? 

OsmanSOYKURT_0-1765197114051.png

 

Can you confirm you haven't added any changes and it's just a blank UI?

Osman SOYKURT
ST Software Developer | TouchGFX

Yes I can confirm all of this. Also that the project compiles through the TouchGFX environment, but not from within designer itself.

Osman SOYKURT
ST Employee

Hello @Iris-DM ,

Sorry for the delay, there was some issue with downloading attached files the last couple of days. But now I have downloaded your project and tested that on my STM32H747I-DISCO board. No issue.
I assume it's something that comes from your computer. Could you try on another computer if you still have the issue?
Do you have any antivirus that might be blocking TouchGFX Designer from running certain processes? I’m asking because another user recently encountered a similar issue.

Osman SOYKURT
ST Software Developer | TouchGFX