Well, nobody has even a simple advise about this ?? Manu.
2007/12/5, Emmanuel Roche <[EMAIL PROTECTED]>: > > Helle there !! > > I'm currently testing the osg reflection framework, so I got GenWrapper, > an now I'm using it to try to build wrappers for my own libraries... Here is > the situation: > > I've got a file typedefs.h containing something like: > > #include <osg/Node> > #include <osg/ref_ptr> > > typedef osg::ref_ptr<osg::Node> RefNode; > > And when I use genwrapper with such a file, just before the output * INFO: > creating file `gen/src/osgWrappers/ogl/Typedefs.cpp' > > I get: * WARNING: could not write a reflector for undefined type > `osg::ref_ptr< osg::Node >' > > I'm quite new to the introspection, so please correct me if I'm wrong: > > 1) Am I right to assume that this warning is not important and everything > will be all right as long as I load the osg wrapper library as this one > would provide everything needed to access the reflector for this type ? > > 2) And, if it's really the case, is this assumption dangerous because > osg::ref_ptr< osg::Node > is a particularly common type and the same > assumption would not work for something more exotic (like using osg:ref_ptr< > MyObjectType > where MyObjectType is "introspected" in a first library > (lib1) and this referenced type defined only in a second library... If > someone sees what I mean...) ? > > Thanks for you help !! > > Manu. > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org