Skip to main content
PKL
Associate
February 6, 2020
Question

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.

  • February 6, 2020
  • 1 reply
  • 646 views

       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   

This topic has been closed for replies.

1 reply

Martin KJELDSEN
Principal III
February 17, 2020

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