2023-05-15 08:04 AM
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)
{
}
Solved! Go to Solution.
2023-05-15 08:21 AM
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.
2023-05-15 08:21 AM
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.