Boost logo

Boost :

Subject: [boost] Possible header error on boost/geometry/algorithms/area.hpp
From: chedi toueiti (chedi.toueiti_at_[hidden])
Date: 2012-09-22 02:08:48


Hi,

This is my first email on the list, and I hope I'm mistaking this, but
while compiling mapnik with the latest boost revision from svn repo (trunk
rev 80625), I got this error:

/home/osm/boost-trunk/boost/geometry/algorithms/area.hpp:31:49: error:
boost/geometry/geometries/variant.hpp: No such file or directory

So I changed the file like as I thought fit:

Index: boost/geometry/algorithms/area.hpp
===================================================================
--- boost/geometry/algorithms/area.hpp (revision 80625)
+++ boost/geometry/algorithms/area.hpp (working copy)
@@ -28,7 +28,7 @@
 #include <boost/geometry/core/ring_type.hpp>

 #include <boost/geometry/geometries/concepts/check.hpp>
-#include <boost/geometry/geometries/variant.hpp>
+#include <boost/variant/variant.hpp>

 #include <boost/geometry/algorithms/detail/calculate_null.hpp>
 #include <boost/geometry/algorithms/detail/calculate_sum.hpp>

and now everything compiles fine, so I hope this will be helpful.

-- 
*Chedi Toueiti*
* Due to the constant fluctuation in customer personalities, we cannot be
responsible for the mental stability of any one member of our staff.
** My opinions may have changed, but not the fact that I am right.
*** I always try to go the extra mile at work, but my boss always finds me
and brings me back.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk