Segmentation fault(Ubuntu24.04.4)

Hello,

My application runs well in Ubuntu22.04.4, when I copy my application and runs in Ubuntu24.04.4,there’s a segmentation fault reported, how to fix it?

Problem solved.

mesh_key = SC::Store::Utils::Text::InsertText(
model, SC::Store::Utils::Text::TextAlignment::BottomLeft, rotMatrix,
text, “arial”, SC::Store::Utils::Text::FontStyle::None,
SC::Store::Utils::Text::Quality::Low, SC::Store::Utils::Text::TextRepresentation::Full);

There’s a PMI node, when I call ‘InsertText’ function, segmentation fault occured.

After I add ‘-lhps_opengl2_mesa’ to my application link parameter, everything is normal now.