[osg-users] Segfault when using addChild on Group object

Jannik Heller scrawl at baseoftrash.de
Fri Apr 22 17:32:17 PDT 2016


Hi,

turns out that my error was caused by mismatched OSG headers / libs. I had a LD_LIBRARY_PATH in my .bashrc that pointed to a different OSG installation than the one in /usr. Could you double check what libraries your executable is linked against. To do so run:

Code:

ldd ./executable



Example: 	libosg.so.130 => /usr/lib/x86_64-linux-gnu/libosg.so.130 (0x00007ff47bdd9000)

These libraries should match the include path (-I) to the OSG headers. Don't mix headers/libs of a different version.

Cheers
Jannik

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66936#66936








More information about the osg-users mailing list