rundel / carto-generator

C++ Parser for the Carto stylesheet language
15 stars 1 forks source link

make failing to compile on ubuntu 14.04 #16

Closed NyakudyaA closed 10 years ago

NyakudyaA commented 10 years ago

Make fails on ubuntu 14.04 with boost 1.54 and gdal 2.0 with mapnik 3.0 commpiled. gives an error :: include/symbolizers/gen_text_sym.hpp: In static member function 'static boost::optionalstd::basic_string boost::fusion::extension::access::adt_attribute_access<mapnik::text_symbolizer, 2>::boost_fusion_adapt_adt_impl_get(const mapnik::text_symbolizer&)': include/symbolizers/gen_text_sym.hpp:37:61: error: 'const class boost::optionalmapnik::font_set' has no member named 'get_name' cssgen::make_opt_emptystd::string( obj.get_fontset().get_name() ), ^ scons: *\ [src/gen_layer.o] Error 1

timlinux commented 10 years ago

I also get compile errors as per the gist below:

https://gist.github.com/timlinux/a7978d4748822d1f53c5

I am trying to build in a docker container using the recipe provided here:

https://github.com/timlinux/docker-carto-generator

gubuntu commented 10 years ago

Same with me. Errors as per https://gist.github.com/gubuntu/76ab1848483f4bee5bf9#file-gistfile1-txt

14.04, mapnik 2.3, boost 1.54

NyakudyaA commented 10 years ago

finally compiled using the compile-fix branch:

https://github.com/springmeyer/carto-generator/tree/compile-fix

rundel commented 10 years ago

Sorry for the delays, I've merged Dane's compile-fix branch which seems to fix things.