Re: Unable to run example code "line_interpolate"

Mateusz Loskot via Boost-users <[email protected]>
Newsgroups gmane.comp.lib.boost.user
Message-ID <CABUeae9vGvehaSTa6bKRh9Lz3xumSWpFuWviXLj3bOgaHQNvhQ@mail.gmail.com>
On Tue, 19 Apr 2022 at 16:07, Ajay Kumar G via Boost-users
<[email protected]> wrote:
>
> While trying to run a sample example code "line_interpolate" from following link:
> https://www.boost.org/doc/libs/1_79_0/libs/geometry/doc/html/geometry/reference/algorithms/line_interpolate/line_interpolate_3.html
> [...]
> May I know the actual cause of this issue?
> [...]
> Boost Version:  1.65.1.0

Can you access this page...?
https://www.boost.org/doc/libs/1_65_0/libs/geometry/doc/html/geometry/reference/algorithms/line_interpolate/line_interpolate_3.html

Well, that feature is not available in the ancient Boost version you are using.
The feature you are trying was released with Boost 1.70
as per https://github.com/boostorg/geometry/pull/526

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.