Skip to main content
Associate
July 4, 2024
Question

Compile Error

  • July 4, 2024
  • 1 reply
  • 583 views

Greetings,

I just migrated the latest TouchGFX version (4.24.0) and now I am getting a compile error:

 

 
[build] ...../touchgfx_win/generated/simulator/src/mainBase.cpp:39:10: error: 'lcd' is not a member of 'HAL'; did you mean 'lcd'?
 
You have to change 
HAL::lcd().setVectorFontRenderer(&vectorFontRendererImpl);
to
touchgfx::HAL::lcd().setVectorFontRenderer(&vectorFontRendererImpl);
 
In to get rid of the compile error. Any chances to fix this issue?

1 reply

Associate
July 4, 2024

FYI: I have a work-arround where I just copied the content into the upper layer which calls the function "

setupSimulator" and removed the file from our build.