rundel / carto-parser

12 stars 7 forks source link

fix for compile error #2

Closed springmeyer closed 13 years ago

springmeyer commented 13 years ago

use mapnik::color directory as mapnik:css was removed upstream in mapnik trunk 7 weeks ago: http://trac.mapnik.org/changeset/2933

avoids:

clang++ -c  -I./include `mapnik-config --cflags` -Wall -g example.cpp -o example.o
In file included from example.cpp:10:
In file included from ./include/generate/generate_mss_dot.hpp:15:
./include/parse/carto_grammar.hpp:50:42: error: no type named 'css' in namespace 'mapnik'
    utree::list_type operator() (mapnik::css color) const
                                 ~~~~~~~~^
rundel commented 13 years ago

Was using an apparently very out of date version of trunk, updated and switched to using color instead of css, should be fixed.