Subject: Re: [geometry] Using Boost::Geometry along with an older Boost version
From: Stephan Menzel (stephan.menzel_at_[hidden])
Date: 2012-09-26 04:06:16
I guess this is a common problem.
Myself, I am working inside an application environment that links
against boost 1.43 and is not going to update. Since I am working
extensively with recent boost versions I found myself forced to try to
create an "overlay", a set of header only boost libs that I can safely
put over the old one without any side effects. This also includes
geometry and I'm having this combo now with 1.43 and 1.51.
Here's the contents of my overlay dir:
$ ls -la
Probably lots more than you need but this combination is known to work.
On Tue, Sep 18, 2012 at 9:47 AM, MOnsDaR <nils.brinkmann_at_[hidden]> wrote:
> I'm working on a project which extensively uses Boost 1.46.1. There are
> components which are compiled against this Boost version and where I'm not
> able to recompile them against a newer Boost version.
> Lately I stumbled across a problem where I would have to intersect 2
> polygons. Fortunately, this is easily possible by using Boost::Geometry.
> Unfortunately, Boost::Geometry is only included in Boost since version
> The affected component is a library which is used by some other components.
> As Boost::Geometry is just a header-only and also depends just on headers:
> Would it be possible to compile the specific library with Boost Geometry
> from Boost 1.47.0 and use it along with other components which use Boost
> 1.46.1? Could there be side-effects?
> I hope this question fits this mailing list, it's not really a
> content-specific question.
> Thanks and best regards,
> View this message in context: http://boost-geometry.203548.n3.nabble.com/Using-Boost-Geometry-along-with-an-older-Boost-version-tp4025113.html
> Sent from the Boost Geometry mailing list archive at Nabble.com.
> Geometry mailing list
Geometry list run by mateusz at loskot.net