Hi Robert, 2010/11/9 Robert Osfield <[email protected]>: > I believe the problem with loading .osg files is not down to the > DynamicLibrary methods but that lack of support for directly linking > in the symbols from the wrapper plugins in the osg plugin itself. We > need to do two things - add a mechanism into the deprecated wrappers > and the new serializers to be able to directly reference the wrapper > library, and then to pull these in to .osg plugin. We'll probably > need something like a USE_SERAILIZER_PLUGIN(osg), > USE_SERAILIZER_PLUGIN(osgText) etc. in Present3D/osgstaticviewer, as > well as a .cpp file in each of the serializer libs that pulls in each > of the wrappers themselves.
An additional hint is that .obj files are not able to be read, too; but reading images (.png or .rgb) are OK. It certainly has no relation with the wrappers. I'll go deeper to see if I myself made mistakes or we just met another problem with static building. > > The need to do this does exclude the fact that we probably need to > think about what we do about the mechanism in Registry for loading > plugins when you have a static build, my guess is that we should > probably be disabling this plugin loading mechansim. > I'll try this later tomorrow. :-) Cheers, Wang Rui _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
