From 883973681888e6e5b5945db48435b519f3e89030 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 21 Jan 2010 16:26:48 +0000 Subject: [PATCH] Added extra export for windows build --- include/osgDB/ObjectWrapper | 6 +++--- src/osgDB/ObjectWrapper.cpp | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/osgDB/ObjectWrapper b/include/osgDB/ObjectWrapper index 7a59f0dd5..e998ded03 100644 --- a/include/osgDB/ObjectWrapper +++ b/include/osgDB/ObjectWrapper @@ -69,7 +69,7 @@ protected: SerializerList _backupSerializers; }; -class ObjectRegistry : public osg::Referenced +class OSGDB_EXPORT ObjectRegistry : public osg::Referenced { public: static ObjectRegistry* instance(); @@ -101,7 +101,7 @@ protected: }; -class RegisterWrapperProxy +class OSGDB_EXPORT RegisterWrapperProxy { public: typedef void (*AddPropFunc)( ObjectWrapper* ); @@ -145,7 +145,7 @@ protected: #define REGISTER_COMPRESSOR(NAME, CLASS) \ static osgDB::RegisterCompressorProxy compressor_proxy_##CLASS(NAME); -class GlobalLookupTable : public osg::Referenced +class OSGDB_EXPORT GlobalLookupTable : public osg::Referenced { public: typedef std::map IntLookupMap; diff --git a/src/osgDB/ObjectWrapper.cpp b/src/osgDB/ObjectWrapper.cpp index 5b29e4773..71d74750f 100644 --- a/src/osgDB/ObjectWrapper.cpp +++ b/src/osgDB/ObjectWrapper.cpp @@ -40,6 +40,7 @@ #include #include #include +#include #include