diff --git a/include/osgShadow/DebugShadowMap b/include/osgShadow/DebugShadowMap index 8492683ac..e8fa9f7fb 100644 --- a/include/osgShadow/DebugShadowMap +++ b/include/osgShadow/DebugShadowMap @@ -86,7 +86,7 @@ class OSGSHADOW_EXPORT DebugShadowMap : public ViewDependentShadowTechnique osg::ref_ptr< osg::Shader > _depthColorFragmentShader; - struct ViewData: public BaseClass::ViewData + struct OSGSHADOW_EXPORT ViewData: public BaseClass::ViewData { /** Texture used as ShadowMap - initialized by derived classes. diff --git a/include/osgShadow/MinimalCullBoundsShadowMap b/include/osgShadow/MinimalCullBoundsShadowMap index 56ec17aee..262f79e90 100644 --- a/include/osgShadow/MinimalCullBoundsShadowMap +++ b/include/osgShadow/MinimalCullBoundsShadowMap @@ -45,7 +45,7 @@ class OSGSHADOW_EXPORT MinimalCullBoundsShadowMap /** Classic protected OSG destructor */ virtual ~MinimalCullBoundsShadowMap(void); - struct ViewData: public MinimalShadowMap::ViewData + struct OSGSHADOW_EXPORT ViewData: public MinimalShadowMap::ViewData { virtual void init( ThisClass * st, osgUtil::CullVisitor * cv ); diff --git a/include/osgShadow/MinimalDrawBoundsShadowMap b/include/osgShadow/MinimalDrawBoundsShadowMap index fadbdeeb8..3ff7cfee1 100644 --- a/include/osgShadow/MinimalDrawBoundsShadowMap +++ b/include/osgShadow/MinimalDrawBoundsShadowMap @@ -46,7 +46,7 @@ class OSGSHADOW_EXPORT MinimalDrawBoundsShadowMap /** Classic protected OSG destructor */ virtual ~MinimalDrawBoundsShadowMap(void); - struct ViewData: public BaseClass::ViewData + struct OSGSHADOW_EXPORT ViewData: public BaseClass::ViewData { osg::ref_ptr< osg::RefMatrix > _projection; osg::Vec2s _boundAnalysisSize; diff --git a/include/osgShadow/MinimalShadowMap b/include/osgShadow/MinimalShadowMap index d5384ec97..810a3cf83 100644 --- a/include/osgShadow/MinimalShadowMap +++ b/include/osgShadow/MinimalShadowMap @@ -97,7 +97,7 @@ class OSGSHADOW_EXPORT MinimalShadowMap : public StandardShadowMap float _minLightMargin; ShadowReceivingCoarseBoundAccuracy _shadowReceivingCoarseBoundAccuracy; - struct ViewData: public BaseClass::ViewData + struct OSGSHADOW_EXPORT ViewData: public BaseClass::ViewData { osg::Matrix *_modellingSpaceToWorldPtr; float *_maxFarPlanePtr; diff --git a/include/osgShadow/ProjectionShadowMap b/include/osgShadow/ProjectionShadowMap index 94b6207d2..4ca928195 100644 --- a/include/osgShadow/ProjectionShadowMap +++ b/include/osgShadow/ProjectionShadowMap @@ -52,7 +52,7 @@ class OSGSHADOW_EXPORT ProjectionShadowMap : public MinimalBoundsBaseClass { } - struct ViewData: public BaseClass::ViewData, + struct OSGSHADOW_EXPORT ViewData: public BaseClass::ViewData, public ShadowProjectionAlgorithmClass { #if 0 diff --git a/include/osgShadow/StandardShadowMap b/include/osgShadow/StandardShadowMap index d451a7537..f2fbd1daa 100644 --- a/include/osgShadow/StandardShadowMap +++ b/include/osgShadow/StandardShadowMap @@ -145,7 +145,7 @@ class OSGSHADOW_EXPORT StandardShadowMap : public DebugShadowMap unsigned int _baseTextureCoordIndex; unsigned int _shadowTextureCoordIndex; - struct ViewData: public BaseClass::ViewData + struct OSGSHADOW_EXPORT ViewData: public BaseClass::ViewData { osg::ref_ptr< osg::Light > * _lightPtr; unsigned int * _baseTextureUnitPtr; diff --git a/include/osgShadow/ViewDependentShadowTechnique b/include/osgShadow/ViewDependentShadowTechnique index d3890f6ed..168374cdb 100644 --- a/include/osgShadow/ViewDependentShadowTechnique +++ b/include/osgShadow/ViewDependentShadowTechnique @@ -148,7 +148,7 @@ class OSGSHADOW_EXPORT ViewDependentShadowTechnique Techniques based on ViewDependentShadowTechnique will usually define similar struct and derive it from ViewData to contain their specufic resources. */ - struct ViewData: public osg::Referenced + struct OSGSHADOW_EXPORT ViewData: public osg::Referenced { /** Method called upon ViewData instance to initialize internal variables