cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to simulate the OoB Online application for STM32H750. I can simulate in Designer V4.12.3 but 'Run Simulator' as well as 'Generate Code' generates an error in Designer 4.13. See details.

PKL
Associate

       Done

   Post Generate

       touchgfx update_project --project-file=../EWARM/application.ewp && touchgfx update_project && touchgfx update_project --project-file=simulator/msvs/Application.vcxproj

       No value provided for required options '--project-file'

       Failed

   Failed

Running the Application.sln gives build errors with

Severity   Code   Description   Project   File   Line   Suppression State

Error   LNK2019   unresolved external symbol "public: __thiscall HallwayScreenViewBase::HallwayScreenViewBase(void)" (??0HallwayScreenViewBase@@QAE@XZ) referenced in function "public: __thiscall HallwayScreenView::HallwayScreenView(void)" (??0HallwayScreenView@@QAE@XZ)   Application   C:\TouchGFXProjects\MyApplication_3\Projects\TouchGFX\simulator\msvs\hallwayScreenView.obj   1   

and

Severity   Code   Description   Project   File   Line   Suppression State

Error   LNK2019   unresolved external symbol "public: virtual void __thiscall HallwayScreenViewBase::setupScreen(void)" (?setupScreen@HallwayScreenViewBase@@UAEXXZ) referenced in function "public: virtual void __thiscall HallwayScreenView::setupScreen(void)" (?setupScreen@HallwayScreenView@@UAEXXZ)   Application   C:\TouchGFXProjects\MyApplication_3\Projects\TouchGFX\simulator\msvs\hallwayScreenView.obj   1   

1 REPLY 1
Martin KJELDSEN
Chief III

Hi,

The resulting build errors are because the post-generate fails (it cannot update your project with HallWayScreenView.cpp.

I'm not sure what happened to your post generate command, but open your .touchgfx file and remove this part

 && touchgfx update_project &&

It should work then, updating EWARM and MSVS projects.

/Martin