Skip to main content
lxw
Associate III
July 29, 2019
Solved

cubemx error

  • July 29, 2019
  • 2 replies
  • 1546 views

0690X000009ZYZNQA4.png

Use cubemx to generate touchgfx, open vs file compilation, error occurs

This topic has been closed for replies.
Best answer by Anders Nedergaard PETERSEN

Please check if the .touchgfx file contains the following command at PostGenerateCommand

touchgfx update_project --project-file=simulator/msvs/Application.vcxproj

This will update the MSVS project with the modified TouchGFX files

/Anders

2 replies

Anders Nedergaard PETERSEN
Senior II
July 29, 2019

Hi @lxw​,

TouchGFX Designer needs to be executed before running the MSVS simulator.

This will populate the TouchGFX project with the needed files in order to run the simulator.

/Anders

lxw
lxwAuthor
Associate III
July 29, 2019

Yes, I first used cubemx to generate the MDK project, then started designer to generate the code through cubemx.Then use vs to open MSVS, and compile to prompt the question.

Anders Nedergaard PETERSEN
Senior II
July 30, 2019

Please check if the .touchgfx file contains the following command at PostGenerateCommand

touchgfx update_project --project-file=simulator/msvs/Application.vcxproj

This will update the MSVS project with the modified TouchGFX files

/Anders

lxw
lxwAuthor
Associate III
July 31, 2019

Thank you!!!