cancel
Showing results for 
Search instead for 
Did you mean: 

Error in simulation/code generation in TouchGFX 4.10.0 Designer

Hosting
Associate III

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.

8 REPLIES 8
hansd56
Senior II
Martin KJELDSEN
Chief III

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
Chief III

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
Chief III

Hi @Hosting​,

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

/Martin

Hosting
Associate III

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
Chief III

Hi @Hosting​,

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

/Martin

Hosting
Associate III

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.

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

Thanks

/Martin