You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an old app (c++) using mapnik to do some rendering .
When compiling I always run into 2 errrors
/usr/local/include/mapnik/mapbox/variant.hpp:598:15: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
598 | typename Enable = typename std::enable_if<Traits::is_valid && !std::is_same<variant<Types...>, typename Traits::value_type>::value>::type >
and
In file included from /usr/local/include/mapnik/attribute.hpp:28,
from /usr/local/include/mapnik/symbolizer_base.hpp:34,
from /usr/local/include/mapnik/rule.hpp:28,
from /usr/local/include/mapnik/agg_renderer.hpp:30,
from generate.cpp:26:
/usr/local/include/mapnik/value.hpp: In instantiation of ‘mapnik::value_adl_barrier::value::value(T&&) [with T = const char* const&; U = const char* const&]’:
/usr/local/include/mapnik/feature.hpp:116:18: required from ‘void mapnik::feature_impl::put(const key_type&, const T&) [with T = const char*; mapnik::context<std::map<std::__cxx11::basic_string, long unsigned int> >::key_type = std::__cxx11::basic_string]’
generate.cpp:495:19: required from here
/usr/local/include/mapnik/value.hpp:59:45: error: no matching function for call to ‘mapbox::util::variant<mapnik::value_null, bool, int, double, icu_65_1::UnicodeString>::variant(const char* const&)’
59 | : value_base(U(std::forward(val))) {}
| ^
In file included from /usr/local/include/mapnik/util/variant.hpp:27,
from /usr/local/include/mapnik/params.hpp:29,
from /usr/local/include/mapnik/map.hpp:32,
from generate.cpp:24:
can anybody see whats wrong?
The text was updated successfully, but these errors were encountered:
I have an old app (c++) using mapnik to do some rendering .
When compiling I always run into 2 errrors
/usr/local/include/mapnik/mapbox/variant.hpp:598:15: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
598 | typename Enable = typename std::enable_if<Traits::is_valid && !std::is_same<variant<Types...>, typename Traits::value_type>::value>::type >
and
In file included from /usr/local/include/mapnik/attribute.hpp:28,
from /usr/local/include/mapnik/symbolizer_base.hpp:34,
from /usr/local/include/mapnik/rule.hpp:28,
from /usr/local/include/mapnik/agg_renderer.hpp:30,
from generate.cpp:26:
/usr/local/include/mapnik/value.hpp: In instantiation of ‘mapnik::value_adl_barrier::value::value(T&&) [with T = const char* const&; U = const char* const&]’:
/usr/local/include/mapnik/feature.hpp:116:18: required from ‘void mapnik::feature_impl::put(const key_type&, const T&) [with T = const char*; mapnik::context<std::map<std::__cxx11::basic_string, long unsigned int> >::key_type = std::__cxx11::basic_string]’
generate.cpp:495:19: required from here
/usr/local/include/mapnik/value.hpp:59:45: error: no matching function for call to ‘mapbox::util::variant<mapnik::value_null, bool, int, double, icu_65_1::UnicodeString>::variant(const char* const&)’
59 | : value_base(U(std::forward(val))) {}
| ^
In file included from /usr/local/include/mapnik/util/variant.hpp:27,
from /usr/local/include/mapnik/params.hpp:29,
from /usr/local/include/mapnik/map.hpp:32,
from generate.cpp:24:
can anybody see whats wrong?
The text was updated successfully, but these errors were encountered: