Thanks Wojtek, your suggestion works and everything compiles once
more.  Changes now checked into svn/trunk.

On Tue, Nov 23, 2010 at 1:34 PM, Wojciech Lewandowski
<[email protected]> wrote:
> Hi Robert,
>
> _frameShadowCastingCameraPasses variable was added to MinimalShadowMap
> class. It should be inherited by ProjectionShadowMap. This code compiles
> with Visual C++. Difference could be related to more strict template
> resolution on GCC. Perhaps it will work if you replace
> _frameShadowCastingCameraPasses with fully qualified
> BaseClass::ViewData::_frameShadowCastingCameraPasses name. Can you try it ?
>
> Cheers,
> Wojtek
>
>
> -----Original Message----- From: Robert Osfield
> Sent: Tuesday, November 23, 2010 12:28 PM
> To: OpenSceneGraph Submissions
> Subject: Re: [osg-submissions] Fix for MinimalShadowMap and derived
> techniques ignoring minLightMargin parameter when used with ViewBounds
> modifier
>
> Hi Wojtek,
>
> I've merged your changes but now get a compile error:
>
> [ 24%] Building CXX object
> src/osgShadow/CMakeFiles/osgShadow.dir/LightSpacePerspectiveShadowMap.o
> In file included from
> /home/robert/OpenSceneGraph/include/osgShadow/LightSpacePerspectiveShadowMap:23,
>                from
> /home/robert/OpenSceneGraph/src/osgShadow/LightSpacePerspectiveShadowMap.cpp:18:
> /home/robert/OpenSceneGraph/include/osgShadow/ProjectionShadowMap: In
> member function ‘virtual void
> osgShadow::ProjectionShadowMap<MinimalBoundsBaseClass,
> ShadowProjectionAlgorithmClass>::ViewData::frameShadowCastingCamera(const
> osg::Camera*, osg::Camera*, int)’:
> /home/robert/OpenSceneGraph/include/osgShadow/ProjectionShadowMap:68:
> error: ‘_frameShadowCastingCameraPasses’ was not declared in this
> scope
> make[2]: ***
> [src/osgShadow/CMakeFiles/osgShadow.dir/LightSpacePerspectiveShadowMap.o]
> Error 1
> make[1]: *** [src/osgShadow/CMakeFiles/osgShadow.dir/all] Error 2
>
> I've the ProjectionShadowMap header and source file so I can only
> assume that something is inconsistent with the submission.
>
> Could you have at look at the submission?
>
> Thanks,
> Robert.
> _______________________________________________
> 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