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. -- Philip Lowman Simulation Development Engineer, Modeling and Simulation Technology General Dynamics Land Systems http://www.gdls.com _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
