Skip to main content
Hosting
Associate III
May 9, 2019 6:10 PM UTC
Question

Error in simulation/code generation in TouchGFX 4.10.0 Designer

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.

8 replies

hansd56
Senior
May 10, 2019 9:27 AM UTC
Martin KJELDSEN
Principal III
May 10, 2019 9:31 AM UTC

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 9:31 AM UTC

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 11:27 AM UTC

Hi @Hosting​,

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

/Martin

Hosting
HostingAuthor
Associate III
May 21, 2019 5:50 PM UTC

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 9:12 AM UTC

Hi @Hosting​,

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

/Martin

Hosting
HostingAuthor
Associate III
May 30, 2019 9:43 PM UTC

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
Jun 3, 2019 8:02 AM UTC

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

Thanks

/Martin