Philip Lowman wrote:
Luigi Calori wrote:
I would be interested in hints on wrapping an osg application into a
.ddl or .so to be loaded (and eventually unloaded) at runtime.
Is there a cross platform solution?
Is the code used in osgDB::DynamicLibrary a good starting point?
I would like being able to load at runtime a cerain version of my app,
based on a certain version of osg and eventually unload it and reload a
different version.
Does this make sense at all?
You could do this but you would have to be very careful that each
library you dynamically load is compiled against the same version of the
OSG that you dynamically link it at runtime. You'd also have to ensure
that each version of OSG loaded the proper OSG plugins at runtime.
I'd recommend against trying to mix different versions of the OSG, it's
probably more hassle than it's worth.
I just would like to being able, to decide at run time, on the first
time of access to my dll wrapped applicatiuon, which version to load.
I would, for now, hints on how to build a runtime loadable library that
wrap an osg application.
Thanks in advance
Luigi Calori
Thanks
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/