artemp/mapnik — Issue #886: Compiling SVG renderer fails
Author: artemp
Created: 2011-10-11 16:41:11+00:00
State: open
Labels: Core_Library

Trying to compile the SVG renderer fails. The option to build it should be disabled for Mapnik2 release as this is unfinished work.

{{{
g++ -o src/svg/svg_generator.os -c -DHAVE_JPEG -DBOOST_REGEX_HAS_ICU -ansi -Wall -pthread -ftemplate-depth-200 -DLINUX -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O0 -fno-inline -g -DDEBUG -DMAPNIK_DEBUG -DHAVE_CAIRO -DSVG_RENDERER -fPIC -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Iagg/include -I. -Iinclude -I/usr/local/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql src/svg/svg_generator.cpp
In file included from src/svg/svg_renderer.cpp:25:0:
include/mapnik/svg_renderer.hpp:57:22: error: ‘point_symbolizer’ has not been declared
include/mapnik/svg_renderer.hpp:58:16: error: ‘Feature’ has not been declared
include/mapnik/svg_renderer.hpp:60:22: error: ‘line_symbolizer’ has not been declared
include/mapnik/svg_renderer.hpp:61:16: error: ‘Feature’ has not been declared
include/mapnik/svg_renderer.hpp:60:14: error: ‘void mapnik::svg_renderer::process(const int&, const int&, const mapnik::proj_transform&)’ cannot be overloaded
include/mapnik/svg_renderer.hpp:57:14: error: with ‘void mapnik::svg_renderer::process(const int&, const int&, const mapnik::proj_transform&)’
...
}}}