Hi Tim,

I just got the BoundingBox and BoundingSphere wrappers built with my
own changes to genwrapper.conf.  I await a complete build to finish
before I can start testing, but it looks like things are finally all
working w.r.t build.

Robert.

On Wed, Nov 26, 2008 at 4:01 PM, Tim Moore <[EMAIL PROTECTED]> wrote:
> Robert Osfield wrote:
>>
>> Hi Tim,
>>
>> I have had another bash at merging your changes and the OSG builds
>> fine as long as I don' build the wrappers.  Updating the wrappers and
>> then running make breaks the build, even with the updated genwrapper.
>> I can't merged code that breaks the build, so again will have to
>> reject this submissions as is.
>
> I think this one is simple: I forgot to send you my new
> src/osgWrappers/genwrapper.conf. It's attached.
>>
>> Other not ideal usage of C++ the approach I took for Matrixf and
>> Matrixd, where the interfaces are duplicated but the implementations
>> are shared works fine with wrapping as its the templates in your code
>> that is introducing problems.  The only other solution would be to fix
>> genwrapper/osgIntrospection so it copes better with your code.
>> Perhaps Marco Jez the author of osgIntrospection/genwrapper might be
>> able help.
>>
> Yeah... if this genwrapper.conf doesn't work, then I'll give up and try a
> different approach. Thanks for trying this a couple of times,
> Tim
>
>> Robert.
>> --
>> The build error is:
>>
>> [ 62%] Building CXX object
>> src/osgWrappers/CMakeFiles/osgwrapper_osg.dir/osg/BoundingBox.o
>> /home/robert/OpenSceneGraph/include/osgIntrospection/ExtendedTypeInfo:
>> In function 'osgIntrospection::ExtendedTypeInfo extended_typeid()
>> [with T = const osg::BoundingSphereImpl<osg::Vec3d>&]':
>> /home/robert/OpenSceneGraph/src/osgWrappers/osg/BoundingBox.cpp:159:
>> instantiated from here
>> /home/robert/OpenSceneGraph/include/osgIntrospection/ExtendedTypeInfo:120:
>> error: invalid use of undefined type 'struct
>> osg::BoundingSphereImpl<osg::Vec3d>'
>> /home/robert/OpenSceneGraph/include/osg/BoundingBox:26: error:
>> declaration of 'struct osg::BoundingSphereImpl<osg::Vec3d>'
>> /home/robert/OpenSceneGraph/include/osg/BoundingBox: In member
>> function 'void osg::BoundingBoxImpl<VT>::expandBy(const
>> osg::BoundingSphereImpl<VT>&) [with VT = osg::Vec3d]':
>> /home/robert/OpenSceneGraph/src/osgWrappers/osg/BoundingBox.cpp:159:
>> instantiated from here
>> /home/robert/OpenSceneGraph/include/osg/BoundingBox:226: error:
>> invalid use of undefined type 'const struct
>> osg::BoundingSphereImpl<osg::Vec3d>'
>> /home/robert/OpenSceneGraph/include/osg/BoundingBox:26: error:
>> declaration of 'const struct osg::BoundingSphereImpl<osg::Vec3d>'
>> /home/robert/OpenSceneGraph/include/osg/BoundingBox:228: error:
>> invalid use of undefined type 'const struct
>> osg::BoundingSphereImpl<osg::Vec3d>'
>> /home/robert/OpenSceneGraph/include/osg/BoundingBox:26: error:
>> declaration of 'const struct osg::BoundingSphereImpl<osg::Vec3d>'
>> /home/robert/OpenSceneGraph/include/osg/BoundingBox:228: error:
>> invalid use of undefined type 'const struct
>> osg::BoundingSphereImpl<osg::Vec3d>'
>> /home/robert/OpenSceneGraph/include/osg/BoundingBox:26: error:
>> declaration of 'const struct osg::BoundingSphereImpl<osg::Vec3d>'
>> /home/robert/OpenSceneGraph/include/osg/BoundingBox:228: error:
>> invalid use of undefined type 'const struct
>> osg::BoundingSphereImpl<osg::Vec3d>'
>> /home/robert/OpenSceneGraph/include/osg/BoundingBox:26: error:
>> declaration of 'const struct osg::BoundingSphereImpl<osg::Vec3d>'
>> /home/robert/OpenSceneGraph/include/osg/BoundingBox:228: error:
>> invalid use of undefined type 'const struct
>> osg::BoundingSphereImpl<osg::Vec3d>'
>> /home/robert/OpenSceneGraph/include/osg/BoundingBox:26: error:
>> declaration of 'const struct osg::BoundingSphereImpl<osg::Vec3d>'
>> _______________________________________________
>> osg-submissions mailing list
>> [email protected]
>>
>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to