Hi Paul,
Can anybody tell me why I have this osgShadow compile problem using OSG
2.7.8 when compiled using GCC 3.2.3? I think I had the same problem when I
attempted to compile 2.7.7 as well..
I am not sure what is recommended solution for your case. Issue is probably
related to usage of heavy templates with member subclasses. Sorry I work
under windows and cannot test this using GCC compiler. Maybe other Linux
Gurus can help. After looking at your error description I would bet that
replacing few "protected:" with "public:" keywords should help. But I am
not sure where exactly those replacements should be made. But for a start I
would change it in line 48 of ProjectionShadowMap. If you manage to fix the
problem please send you changes to osg-submissions.
Cheers,
Wojtek
[ 35%] Building CXX object
src/osgShadow/CMakeFiles/osgShadow.dir/LightSpacePerspectiveShadowMap.o
In file included from
/net/jekyll/raid/data/EngNet/share/sammy/OSG_2_7_8/OpenSceneGraph-2.7.8/include/osgShadow/LightSpacePerspectiveShadowMap:23,
from
/net/jekyll/raid/data/EngNet/share/sammy/OSG_2_7_8/OpenSceneGraph-2.7.8/src/osgShadow/LightSpacePerspectiveShadowMap.cpp:18:
/net/jekyll/raid/data/EngNet/share/sammy/OSG_2_7_8/OpenSceneGraph-2.7.8/include/osgShadow/ViewDependentShadowTechnique:
In
member function `virtual osgShadow::ViewDependentShadowTechnique::ViewData*
osgShadow::ProjectionShadowMap<MinimalBoundsBaseClass,
ShadowProjectionAlgorithmClass>::initViewDependentData(osgUtil::CullVisitor*,
osgShadow::ViewDependentShadowTechnique::ViewData*)':
/net/jekyll/raid/data/EngNet/share/sammy/OSG_2_7_8/OpenSceneGraph-2.7.8/include/osgShadow/ViewDependentShadowTechnique:152:
`
struct osgShadow::ViewDependentShadowTechnique::ViewData' is protected
/net/jekyll/raid/data/EngNet/share/sammy/OSG_2_7_8/OpenSceneGraph-2.7.8/include/osgShadow/ProjectionShadowMap:77:
within
this context
/net/jekyll/raid/data/EngNet/share/sammy/OSG_2_7_8/OpenSceneGraph-2.7.8/include/osgShadow/ViewDependentShadowTechnique:152:
`
struct osgShadow::ViewDependentShadowTechnique::ViewData' is protected
/net/jekyll/raid/data/EngNet/share/sammy/OSG_2_7_8/OpenSceneGraph-2.7.8/include/osgShadow/ProjectionShadowMap:77:
within
this context
gmake[3]: ***
[src/osgShadow/CMakeFiles/osgShadow.dir/LightSpacePerspectiveShadowMap.o]
Error 1
gmake[3]: Leaving directory
`/net/jekyll/raid/data/EngNet/share/sammy/OSG_2_7_8/OpenSceneGraph-2.7.8'
gmake[2]: *** [src/osgShadow/CMakeFiles/osgShadow.dir/all] Error 2
gmake[2]: Leaving directory
`/net/jekyll/raid/data/EngNet/share/sammy/OSG_2_7_8/OpenSceneGraph-2.7.8'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/net/jekyll/raid/data/EngNet/share/sammy/OSG_2_7_8/OpenSceneGraph-2.7.8'
gmake: *** [opt] Error 2
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org