Skip to main content
Associate
July 14, 2023
Solved

Tutorial 4 error

  • July 14, 2023
  • 1 reply
  • 2039 views

Hi, 

Im new to Touchgfx and came to a problem following the tutorial 4.
When I run the simulation it shows declaration error.

gui/include/gui/containers/MenuElement.hpp:19:4: error: 'icon' was not declared in this scope

I tried following the hpp from slider examples, but it seems to implement it differently to the tutorial.

Any suggestions on how to fix this?

Thank you

This topic has been closed for replies.
Best answer by ading12

I got working, Its actually the name of the image needs to be 'icon".

1 reply

ading12AuthorBest answer
Associate
July 14, 2023

I got working, Its actually the name of the image needs to be 'icon".