From 9a80c331a2f7fa71e5822226e22681fd05645ffe Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 27 Jun 2008 10:17:38 +0000 Subject: [PATCH] From Andre Normann, "with version 8504, I am not able to compile osgwrappers under Windows, because there are some DLL export macros missing. I fixed it and put the files in the attached zip file. " --- include/osgShadow/ParallelSplitShadowMap | 2 +- include/osgUtil/Optimizer | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osgShadow/ParallelSplitShadowMap b/include/osgShadow/ParallelSplitShadowMap index 93d59ebeb..5c713634c 100644 --- a/include/osgShadow/ParallelSplitShadowMap +++ b/include/osgShadow/ParallelSplitShadowMap @@ -90,7 +90,7 @@ class OSGSHADOW_EXPORT ParallelSplitShadowMap : public ShadowTechnique /** * you can overwrite the fragment shader if you like to modify it yourself, own fragment shader can be used */ - class FragmentShaderGenerator : public osg::Referenced { + class OSGSHADOW_EXPORT FragmentShaderGenerator : public osg::Referenced { public: /** * generate the GLSL fragement shader diff --git a/include/osgUtil/Optimizer b/include/osgUtil/Optimizer index bf4939b0b..572d57acc 100644 --- a/include/osgUtil/Optimizer +++ b/include/osgUtil/Optimizer @@ -293,7 +293,7 @@ class OSGUTIL_EXPORT Optimizer * of duplicated and flatten individually. This results in more static transforms * being removed, but also means that more data is generated, and as a result may * not always be the most appropriate flatten visitor to use.*/ - class FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor : public BaseOptimizerVisitor + class OSGUTIL_EXPORT FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor : public BaseOptimizerVisitor { public: