Skip to main content
Professional
Associate III
December 6, 2018
Question

TouchGFX integrated to cubeMX : visual studio project has many compilation errors due to error in path

  • December 6, 2018
  • 4 replies
  • 936 views

Generating a cubemx project with touchgfx for STM32f429i disco board doesn't generate code ready to compilation for the simulator solution under TouchGFX\simulator\msvs

many error in compilation.

(problem to find touchgfx\framework\tools\imageconvert\build\msvs\ImageConvert.exe

and other .cpp files and includes path are wrong).

Can we expect a solution for that ?

Thanks

 Best regards

This topic has been closed for replies.

4 replies

Technical Moderator
December 6, 2018

Hello,

Please share your ioc file for check your issue.

May be the issue is with your project configuration and the Include paths is not set up properly or you are missing an include file. So, you'd want to review the defines, and include paths.

Kind Regards,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Professional
Associate III
December 6, 2018

here's the .ioc

thanks for your reply

regards

Anders Nedergaard PETERSEN
Senior II
December 6, 2018

Hi,

The .touchgfx file is a json format describing the TouchGFX project.

At the end of the file please find the parameter: "PostGenerateCommand"

Please add the the following argument: "touchgfx update_project --project-file=simulator/msvs/Application.vcxproj"

Please make sure that the path to the .vcxproj is correct.

After this, please open the .touchgfx file with TouchGFX Designer, this will update the MSVS project with the correct include paths and the correct paths to converters.

Regards

Anders

Professional
Associate III
December 7, 2018

thank for your reply,

so we mustn't generate code from touchgfx executed in cubemx because the line is allways re-written!!