<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">For static linking, you’ll almost certainly need to specify ALL dependent libs. For example, I see osgText there but no reference to freetype or fontconfig. Generally this is where using a build system like CMake has advantages since it will know the full list of dependencies.<div class=""><br class=""></div><div class="">Generally, if I’m dealing with some library libfoo.a with unknown dependencies, I look at the undefined globals and try to infer their source. So </div><div class=""><br class=""></div><div class=""> nm -g —undefined-only libfoo.a | c++filt<br class=""><div><br class=""></div><div>and have a look at what is missing.</div><div><br class=""><blockquote type="cite" class=""><div class="">On 28/05/2020, at 6:28 AM, OpenSceneGraph Users <<a href="mailto:osg-users@lists.openscenegraph.org" class="">osg-users@lists.openscenegraph.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">So, no ideas?<br class=""><br class="">On Friday, May 15, 2020 at 4:57:52 AM UTC-3, Rodrigo Dias wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr" class=""><br class="">Now I get that long list of "undefined reference" through many of OSG source files (can paste it here, if you need). I've read somewhere that the order of libraries are important, so I've tried them in the order given by "make":<br class=""><br class=""></div></blockquote></div></div></blockquote></div><br class=""></div></body></html>