-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting error while compiling vector_tile.cpp #63
Comments
Yes, this is needing fixed / known issue. Use |
Now i am getting the following error when using clang++ In file included from vector_tile.cpp:13: |
What Mapnik version are you using? If v2.2.0, then try with the 2.3.x branch: https://github.com/mapnik/mapnik/tree/2.3.x |
Springmeyer,
undefined reference to |
I am getting the following error while compiling the vector_tile.cpp
./src/vector_tile_projection.hpp:12:37: error: ‘namespace mapnik::vector { }’ redeclared as different kind of symbol
/usr/include/c++/4.6/bits/stl_vector.h:180:11: error: previous declaration of ‘template<class _Tp, class _Alloc> class std::vector’
In file included from vector_tile.cpp:20:0:
../src/vector_tile_processor.hpp:53:37: error: ‘namespace mapnik::vector { }’ redeclared as different kind of symbol
/usr/include/c++/4.6/bits/stl_vector.h:180:11: error: previous declaration of ‘template<class _Tp, class Alloc> class std::vector’
../src/vector_tile_processor.hpp: In member function ‘void mapnik::vector::processor::apply(double)’:
../src/vector_tile_processor.hpp:106:92: error: invalid initialization of reference of type ‘const mapnik::Map&’ from expression of type ‘double’
/usr/local/include/mapnik/scale_denominator.hpp:32:20: error: in passing argument 1 of ‘double mapnik::scale_denominator(const mapnik::Map&, bool)’
../src/vector_tile_processor.hpp: In member function ‘void mapnik::vector::processor::apply_to_layer(const mapnik::layer&, const mapnik::projection&, double, double, unsigned int, unsigned int, const mapnik::box2d&, int)’:
../src/vector_tile_processor.hpp:261:38: error: ‘struct mapnik::raster’ has no member named ‘premultiplied_alpha’
In file included from ../src/vector_tile_backend_pbf.hpp:10:0,
from vector_tile.cpp:21:
/usr/include/mapnik/value_types.hpp: At global scope:
/usr/include/mapnik/value_types.hpp:48:8: error: redefinition of ‘struct mapnik::value_null’
/usr/local/include/mapnik/value.hpp:71:8: error: previous definition of ‘struct mapnik::value_null’
In file included from ../src/vector_tile_backend_pbf.hpp:13:0,
from vector_tile.cpp:21:
../src/vector_tile.pb.h:28:18: error: ‘namespace mapnik::vector { }’ redeclared as different kind of symbol
/usr/include/c++/4.6/bits/stl_vector.h:180:11: error: previous declaration of ‘template<class _Tp, class _Alloc> class std::vector’
../src/vector_tile.pb.h:180:55: error: ‘namespace mapnik::vector { }’ redeclared as different kind of symbol
/usr/include/c++/4.6/bits/stl_vector.h:180:11: error: previous declaration of ‘template<class _Tp, class _Alloc> class std::vector’
../src/vector_tile.pb.h:180: confused by earlier errors, bailing out
The text was updated successfully, but these errors were encountered: