Skip to main content
Hosting
Associate III
May 9, 2019
Question

Error in simulation/code generation in TouchGFX 4.10.0 Designer

  • May 9, 2019
  • 7 replies
  • 1446 views

Hi. When try to create a project in TouchGFX 4.10.0 Designer, an error occurs:

make -f simulator/gcc/Makefile assets -j10

touchgfx update_project --project-file=../EWARM/STM32F746G-DISCO.ewp --gui-group-name=Application/User/TouchGFX/gui --generated-group-name=Application/User/TouchGFX/generated && touchgfx update_project --project-file=simulator/msvs/Application.vcxproj && ruby updateMXProj.rb

Unable to launch simulator

Post Generate Error

Help me please.

This topic has been closed for replies.

7 replies

hansd56
Senior
May 10, 2019
Martin KJELDSEN
Principal III
May 10, 2019

Hi @Hosting​,

As​ @hansd56​ says IF you created this project with CubeIDE the .touchgfx file has a bad command in it and you should remove it completely (also works, but with warnings) or write some "echo" expression like suggested (then the designer won't complain).

Martin KJELDSEN
Principal III
May 10, 2019

In any case, if you do not have either of the projects referenced in the post generate command, it will also fail, so check that

/Martin

Martin KJELDSEN
Principal III
May 21, 2019

Hi @Hosting​,

Any update on your end? Did you try modifying the post generate command?

/Martin

Hosting
HostingAuthor
Associate III
May 21, 2019

Hello. I noticed, application gets errors when you are active in the application window during code generation or do not exit the application when you close the laptop.

Restarting your laptop solves the problem.

Thank you for your attention to the problem and desire to help.

Martin KJELDSEN
Principal III
May 22, 2019

Hi @Hosting​,

Hmm, i'm not sure i'm completely satisfied :) Are you?

/Martin

Hosting
HostingAuthor
Associate III
May 30, 2019

So far, I have to do this:

  • I close Visual Studio and compile the project.
  • I close TouchGFX if I close the laptop.
  • I do not switch Windows/widgets in the time of the compilation/simulation.

Fulfilling these conditions ensures stable operation.

Martin KJELDSEN
Principal III
June 3, 2019

It's still a strange phenomenon that we will try to investigate internally. It doesn't happen for me, for instance.

Thanks

/Martin