On 7/6/07, Wiedemann, Rudolf, OPS3 <[EMAIL PROTECTED]> wrote:
Hi,
any suggestions how we can solve this?
Just for clarity this is an issue with static linking discarding the
proxy autoregisteration mechanism used in the .osg and .flt plugins,
and there by rendering them an empty set of functionality.
To get round this we will have to add some explicit linking of the
proxies, which is rather a pain as the who point of the proxy approach
is to keep things loosely coupled and easy to extend. However, I
can't see any easy way around this.
All plugins themselves use a proxy mechanism to register themselves,
and in 2.0 this is now augmented by an C export symbol that can be
picked up by external calling code to explictly link this plugins in.
I've used macro's to hide the details of how this is done. It'll need
to be a slightly different mechanism for the .osg and .flt plugins
though, but possibly similiar, whatever solution we find it needs
minimize the overhead in the code and keep it maintainable.
Off the top of my head I don't have a solution. I'm open to suggestions.
Robert.
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/