>> I presume you are using osgProducer::Viewer right now and this is working fine.

That's correct.

>> Do you get any errors when you do a loadWrapper("osgViewer")?

No, it silently returned a None (python's NULL). It might be nice to wrap these loadWrapper calls in modules that check for unsuccessful loads, so that the user can do a safer and more conventional call:

import osgViewer as V

... rather than the more verbose

V = loadWrapper("osgViewer")
if V is None:
   raise RuntimeError, "couldn't find osgViewer wrapper"

>> Do you have the osgViewer wrapper compiled?

I didn't. I just cvs-updated osg and re-ran make, but I then had to cd to the src/osgWrappers/osgViewer directory and make from there in order to build osgWrapper_osgViewer.so. Maybe there's a bug in the root makefile?

In any case, after copying this .so to /usr/local/lib/osgPlugins, osgViewer seems to be working in osgPython.

Thanks for the help,
-- Matt
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to