Looking through the repo history, the function `AddCoordinate` only
appeared for a brief time between the 4.9.1 and the 5.0.0 release.  It was
never part of a tagged version.

Bateesh - you have three options:

  1) Downgrade your OSRM version to 4.9.1, and use `addCoordinate` instead
of `AddCoordinate`
  2) Find the exact gitsha that you previously used to build against OSRM.
I'm guessing you just grabbed the latest code at the time.  That function
was removed in f3e72623e9ec9764c6be1f2aa81a4523f9647077, so somewhere
before that, but after the 4.9.1 tag would be close.
  3) Do as Mateusz suggest, and upgrade to the latest version.  Check the
`examples/` directory for how to hit the current API interface.

daniel

Bateesh


On Tue, Jul 30, 2019 at 3:07 AM Mateusz Loskot <mate...@loskot.net> wrote:

> On Tue, 30 Jul 2019 at 10:43, BATEESH . <bate...@gmail.com> wrote:
> >
> > I am trying to compile project which uses osrm libraries and was written
> in 2017.
>
> Likely, you will have to update your application to catch it up with any
> changes
> that happened in the OSRM C++ API (which, AFAIK, gives no promise on
> stability/compatibility).
>
> Best regards,
> --
> Mateusz Loskot, http://mateusz.loskot.net
>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
_______________________________________________
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to