diff --git a/include/mapnik/agg_renderer.hpp b/include/mapnik/agg_renderer.hpp index 4a8dd89e2..bade3b4c1 100644 --- a/include/mapnik/agg_renderer.hpp +++ b/include/mapnik/agg_renderer.hpp @@ -53,6 +53,7 @@ namespace mapnik { class marker; class proj_transform; struct rasterizer; + class image_32; } namespace mapnik { @@ -165,6 +166,8 @@ private: void setup(Map const& m); }; +extern template class MAPNIK_DECL agg_renderer; + } // namespace mapnik #endif // MAPNIK_AGG_RENDERER_HPP diff --git a/include/mapnik/datasource_cache.hpp b/include/mapnik/datasource_cache.hpp index 6646888bd..bd646abb8 100644 --- a/include/mapnik/datasource_cache.hpp +++ b/include/mapnik/datasource_cache.hpp @@ -59,7 +59,7 @@ private: std::set plugin_directories_; }; -extern template class singleton; +extern template class MAPNIK_DECL singleton; } diff --git a/include/mapnik/text/vertex_cache.hpp b/include/mapnik/text/vertex_cache.hpp index 552b6845d..6069d03e7 100644 --- a/include/mapnik/text/vertex_cache.hpp +++ b/include/mapnik/text/vertex_cache.hpp @@ -25,6 +25,7 @@ // mapnik #include #include +#include // agg #include "agg_basics.h" @@ -41,7 +42,7 @@ class vertex_cache; using vertex_cache_ptr = std::shared_ptr; // Caches all path points and their lengths. Allows easy moving in both directions. -class vertex_cache +class MAPNIK_DECL vertex_cache { struct segment {