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