cancel
Showing results for 
Search instead for 
Did you mean: 

Tutorial 4 error

ading12
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions
ading12
Associate

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

View solution in original post

1 REPLY 1
ading12
Associate

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