mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
``` mold: error: undefined symbol: wpi::fields::GetFields() >>> referenced by Field2D.cpp >>> /home/tav/frc/wpilib/allwpilib/glass/build/libs/glass/static/linuxx86-64/debug/libglassd.a(Field2D.o):((anonymous namespace)::FieldInfo::DisplaySettings()) >>> referenced by Field2D.cpp >>> /home/tav/frc/wpilib/allwpilib/glass/build/libs/glass/static/linuxx86-64/debug/libglassd.a(Field2D.o):((anonymous namespace)::FieldInfo::LoadImage()) collect2: error: ld returned 1 exit status ``` The issue seems to stem from libglass linking to the shared version of fields, whereas wpical requires static linkage.