[Tile-serving] [openstreetmap/mod_tile] compile error in Ubuntu 16.04LTS (#150)

suezhanglove notifications at github.com
Thu Jan 5 07:08:54 UTC 2017


This is part of my log.
`/usr/local/include/mapnik/params.hpp: In instantiation of ‘mapnik::value_holder::value_holder(T&&) [with T = char*&]’:
src/gen_tile.cpp:196:34:   required from here
/usr/local/include/mapnik/params.hpp:62:49: error: no matching function for call to ‘mapbox::util::variant<mapnik::value_null, long int, double, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>::variant(char*&)’
         : value_holder_base(std::forward<T>(obj))
                                                 ^
In file included from /usr/local/include/mapnik/util/variant.hpp:27:0,
                 from /usr/local/include/mapnik/params.hpp:29,
                 from /usr/local/include/mapnik/map.hpp:32,
                 from src/gen_tile.cpp:2:
/usr/local/include/mapnik/mapbox/variant.hpp:598:20: note: candidate: mapbox::util::variant<Types>::variant(mapbox::util::variant<Types>&&) [with Types = {mapnik::value_null, long int, double, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool}]
     VARIANT_INLINE variant(variant<Types...>&& old) noexcept(std::is_nothrow_move_constructible<types>::value)`

`/usr/local/include/mapnik/mapbox/variant.hpp:573:20: note:   candidate expects 0 arguments, 1 provided
Makefile:1136: recipe for target 'src/renderd-gen_tile.o' failed
make[1]: *** [src/renderd-gen_tile.o] Error 1
make[1]: Leaving directory '/home/zs/mod_tile'
Makefile:1300: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
`

I google some same issues,but i can not find solutions. And i install mapnik from source.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/150
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170104/d635b070/attachment.html>


More information about the Tile-serving mailing list