cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade to TouchGFX 4.21.4 undefined reference

rgree.1
Associate II

Description Resource Path Location Type

undefined reference to `touchgfx::ConstFont::ConstFont(touchgfx::GlyphNode const*, unsigned short, unsigned short, unsigned short, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned short, unsigned short)' GeneratedFont.cpp

This was a working project and never used any arabic here is the source line causing the error in GeneratedFont.cpp

GeneratedFont::GeneratedFont(const GlyphNode* glyphs, uint16_t numGlyphs, uint16_t height, uint16_t baseline, uint8_t pixAboveTop, uint8_t pixBelowBottom, uint8_t bitsPerPixel, uint8_t byteAlignRow, uint8_t maxLeft, uint8_t maxRight, const uint8_t* const* glyphDataInternalFlash, const KerningNode* kerningList, const Unicode::UnicodeChar fallbackChar, const Unicode::UnicodeChar ellipsisChar, const uint16_t* const gsubData, const FontContextualFormsTable* formsTable)

  : ConstFont(glyphs, numGlyphs, height, baseline, pixAboveTop, pixBelowBottom, bitsPerPixel, byteAlignRow, maxLeft, maxRight, fallbackChar, ellipsisChar),

   glyphData(glyphDataInternalFlash),

   kerningData(kerningList),

   gsubTable(gsubData),

   arabicTable(formsTable)

{

}

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.