cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX 4.21.4 including a Line shape in a screen causes undefined reference

rgree.1
Associate II

When including a Line shape in a Screen the Canvas Buffer gets set to the default size and then in the compile an undefined reference gets generated in the SelectorViewBase.cpp file constructor.

SelectorViewBase::~SelectorViewBase()

{

touchgfx::CanvasWidgetRenderer::resetBuffer();

}

Description Resource Path Location Type

undefined reference to `touchgfx::CanvasWidgetRenderer::resetBuffer()' SelectorViewBase.cpp

1 ACCEPTED SOLUTION

Accepted Solutions
rgree.1
Associate II

Answered my own question, turns out the projects MCU G++ Linker settings had an incorrect Library Search path, once it was removed the correct libtouchgfx-float-abi-hard.a was recognized and the error resolved.

View solution in original post

1 REPLY 1
rgree.1
Associate II

Answered my own question, turns out the projects MCU G++ Linker settings had an incorrect Library Search path, once it was removed the correct libtouchgfx-float-abi-hard.a was recognized and the error resolved.