Has duplicate #33547.
The relevant error at the bottom of the log seems to be:
:info:build Undefined symbols:
:info:build "FTGLBitmapFont::FTGLBitmapFont(char const*)", referenced from:
:info:build TGLFontManager::RegisterFont(int, int, TGLFont::EMode, TGLFont&)in TGLFontManager.o
:info:build "FTGLTextureFont::FTGLTextureFont(char const*)", referenced from:
:info:build TGLFontManager::RegisterFont(int, int, TGLFont::EMode, TGLFont&)in TGLFontManager.o
:info:build "FTGLOutlineFont::FTGLOutlineFont(char const*)", referenced from:
:info:build TGLFontManager::RegisterFont(int, int, TGLFont::EMode, TGLFont&)in TGLFontManager.o
:info:build "FTGLPolygonFont::FTGLPolygonFont(char const*)", referenced from:
:info:build TGLFontManager::RegisterFont(int, int, TGLFont::EMode, TGLFont&)in TGLFontManager.o
:info:build TGLText::SetGLTextFont(short) in TGLText.o
:info:build "___GLXEW_ARB_multisample", referenced from:
:info:build TGLFormat::InitAvailableSamples() in TGLFormat.o
:info:build "FTGLPixmapFont::FTGLPixmapFont(char const*)", referenced from:
:info:build TGLFontManager::RegisterFont(int, int, TGLFont::EMode, TGLFont&)in TGLFontManager.o
:info:build "FTFont::BBox(char const*, float&, float&, float&, float&, float&, float&)", referenced from:
:info:build TGLFont::BBox(char const*, float&, float&, float&, float&, float&, float&) constin TGLFontManager.o
:info:build TGLFont::MeasureBaseLineParams(float&, float&, float&, char const*) constin TGLFontManager.o
:info:build TGLText::BBox(char const*, float&, float&, float&, float&, float&, float&)in TGLText.o
:info:build TGLText::PaintBBox(char const*)in TGLText.o
:info:build TGLText::PaintGLText(double, double, double, char const*)in TGLText.o
:info:build "FTGLExtrdFont::FTGLExtrdFont(char const*)", referenced from:
:info:build TGLFontManager::RegisterFont(int, int, TGLFont::EMode, TGLFont&)in TGLFontManager.o
:info:build ld: symbol(s) not found