Hi all -- Stefan uncovered an issue when building 2.8.3 with static libraries.
The OBJ and 3DS plugins have duplicate symbol names, notably
PrimitiveIndexWriter::drawArrays, which causes a link error. The FBX plugin
might also have this issue. See the thread "2.8.3-rc2 tagged" for full details.
I wanted to open a new discussion thread for this issue, as it's almost
certainly a problem on trunk and therefore applicable to anyone in the community
building OSG as static libraries. Any fix I put in to 2.8.3 will probably need
to be merged back to trunk.
One way to resolve this would be to wrap the symbols in a plugin-specific
namespace. Alternatively, we could hit it with a hammer and just change the
symbol names so that they are unique across all plugins.
Does anyone have any other thoughts or ideas on this? Seems like we need a
policy that we can use in OSG going forward, so that this same issue doesn't
keep creeping back into the code (only to be discovered the day before the
scheduled release :-( ...)
--
-Paul Martz Skew Matrix Software
http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org