Skip to main content
GMeur
Associate III
Jan 24, 2020 7:33 AM UTC
Solved

Simulator in project upgrated to TouchGFX 4.13 won't work

Hej Hej,

Since I upgrated my project from version 4.12 to 4.13, the simulator won't launch anymore (the project was initially created with TouchGFX 4.10). VS throws two error msgs :

1) unresolved external symbols void __cdecl touchgfx::simulator_enable_stdio(void) in the function void __cdecl touchgfx_enable_stdio(void)

2) unresolved external symbols void __cdecl touchgfx::simulator_printf(char const*, char*) in the function void __cdecl touchgfx_printf(char const*,...)

It seems it's related to a known issue but my project does use HALSDL2 and the functions mentioned in the joined article are present in the HALSDL2.cpp file so the problem stems from somewhere else.

How can I solve it?

I'm sure it's trivial but any guidance would be more than welcomed.

Thanks in advance.

This topic has been closed for replies.
jimmii
jimmiiBest answer
Senior II
Jan 24, 2020 10:30 AM UTC

Had the same problem...

The $(TouchGFXEnvPath) Macro Variable was not updated to the latest installation path.

After updating these, it worked...

0690X00000BwVk0QAF.png

3 replies

Martin KJELDSEN
Principal III
Jan 24, 2020 9:30 AM UTC

I think you'll have to send me your project. Can you do that?

/Martin

jimmii
jimmiiBest answer
Senior II
Jan 24, 2020 10:30 AM UTC

Had the same problem...

The $(TouchGFXEnvPath) Macro Variable was not updated to the latest installation path.

After updating these, it worked...

0690X00000BwVk0QAF.png

GMeur
GMeurAuthor
Associate III
Jan 27, 2020 6:43 AM UTC

Thanks Jimmii!