Skip to main content
lxw
Associate III
Jul 29, 2019 2:52 AM UTC
Solved

cubemx error

0690X000009ZYZNQA4.png

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

This topic has been closed for replies.
Anders Nedergaard PETERSEN
Senior II
Jul 30, 2019 7:51 AM UTC

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

4 replies

Anders Nedergaard PETERSEN
Senior II
Jul 29, 2019 6:30 AM UTC

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
Jul 29, 2019 8:44 AM UTC

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
Jul 30, 2019 7:51 AM UTC

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
Jul 31, 2019 3:26 AM UTC

Thank you!!!