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?

sorry if bothering with ignorance.

Thanks in advance.

Luigi

Philip Lowman wrote:

Chris Hanson wrote:

Philip Lowman wrote:

Hi,
We're trying to use OSG within a dynamically loaded plugin in our code. Whenever we call dlclose() on our plugin, however, shortly after main() returns we segfault. I was wondering if anyone who's worked with OSG has heard of this kind of problem before?


I'm not sure anyone has ever tried/done this, and you may be in dangerously uncharted territory.


Cool! :)

We've been using this method for terrain lookups for almost a year now. Basically all we're doing is loading the terrain and using an IntersectVisitor and this works fine.

The problem came about when we realized that there was a bug in our code and we had neglected to call dlclose() on all of our plugins prior to program exit. In adding this call we came across the problem.


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to