Boost logo

Geometry :

Subject: [ggl] problems with Boost Geometry Xcode compile?
From: Mateusz Loskot (mateusz)
Date: 2010-03-09 15:08:13

Mark McCann wrote:
> Hi All. I'm strongly contemplating being an early adopter of
> Boost.Geometry. I cross-develop for Windows / Linux and Mac using
> wxWidgets. I had no trouble using Boost.Geometry when compiling on
> the Mac command-line using g++ 4.2.1, but when I try to include
> <boost/geometry/geometry.hpp> in an Xcode C++ project, I get a bunch
> of compiler errors such as:
> Expected unqualified-id before 'do' in
> /usr/local/include/boost_1_42_0/boost/geometry/geometries/concepts/check.hpp
> This does not happen for other Boost libraries I've tried. I'm using
> the default compile settings for Xcode 3.2 for OS X 10.6. Any ideas
> on what could be up?

I did a quick test using Visual C++ 8.0 with program including
geometry.hpp and everything works well for me.
I use Boost from its SVN trunk and Boost Geometry from the sandbox [1]


It would be easier to try to reproduce it if could give a small
example of program that doesn't compile for you.

Best regards,

Mateusz Loskot,
Charter Member of OSGeo,

Geometry list run by mateusz at