cancel
Showing results for 
Search instead for 
Did you mean: 

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

Professional
Senior

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

4 REPLIES 4
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Professional
Senior

here's the .ioc

thanks for your reply

regards

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
Senior

thank for your reply,

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