Open ranet24 opened 6 years ago
@ranet24 that looks like an error with mapbox::variant
or something else. What versions of all dependencies are you using?
I'm using the latest versions of dependensies downloaded from links: https://github.com/mapbox/vector-tile https://github.com/mapbox/protozero https://github.com/mapbox/variant https://github.com/mapbox/geometry.hpp with small modification of #include <experimental/optional> to #include < optional > And if I comment these switch, the rest of the sources are compiled correctly.
@ranet24 could you try with these versions of the libraries? https://github.com/mapbox/vector-tile/blob/master/Makefile#L15-L17
I should note also that 1.x
series is approaching end of life and support, we are currently working towards a 2.x
version. Depending on what your needs are 2.x
might be ready or you might need to wait for more support. We might be changing the API some until release though in 2.x
, so 1.x
should be considered stable.
Succeeded! Thanks! You helped me a lot!
Hey, I got the same problem in Microsoft Visual Studio Professional 2019.
It can't compile successfully (see the picture below please). And I've tried the solution https://github.com/mapbox/vector-tile/issues/45#issuecomment-367747458. It didn't work.
I also tried on my virtual machine(Ubuntu 20.04), It works perfectly. So I wonder if it's a compiler related problem?
Any help would appreciate! Thanks!
Hi! I have some problems with compilation "demo" in Microsoft Visual Studio Professional 2017.
I can't to compile the function "static mapbox::geometry::value parseValue(protozero::data_view const& value_view)" in the module vector_tile.hpp with message "error C2679: binary '=': no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)" and so on (see image please).
Can any body help me please to modify sources for compile them with Microsoft Visual Studio Professional 2017?
With best regadrs, Andrey Chernyshov