mapbox / mapbox/vector-tile

Compile demo in Microsoft Visual Studio Professional 2017

Open
#45 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1.x
Dominant language
C++
Stars
52
Forks
33
PR merge metrics
No merged PRs in 30d

Description

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).

![vectortiletestcompile](https://user-images.githubusercontent.com/28395269/36528196-58ad8008-17c5-11e8-85d8-a0aa15456131.png)

Can any body help me please to modify sources for compile them with Microsoft Visual Studio Professional 2017?

With best regadrs, Andrey Chernyshov

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the demo build and the parseValue function in vector_tile.hpp, then reproduce the reported C2679 diagnostic in Microsoft Visual Studio Professional 2017. Compare the failing std::string assignment and surrounding source to determine the compatibility issue; done means the demo compiles successfully with VS 2017.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.