[Tile-serving] [osm2pgsql] Doesn't build against Geos 3.4.2 (#167)
Richard Fairhurst
notifications at github.com
Wed Jul 9 23:15:36 UTC 2014
Building on Ubuntu 12.04 against Geos 3.4.2 gave me these errors:
```
build_geometry.o: In function `coords2nodes':
/root/osm2pgsql/build_geometry.cpp:279: undefined reference to `geos::geom::Coordinate::~Coordinate()'
/root/osm2pgsql/build_geometry.cpp:279: undefined reference to `geos::geom::Coordinate::~Coordinate()'
build_geometry.o: In function `get_wkt_simple':
/root/osm2pgsql/build_geometry.cpp:89: undefined reference to `geos::geom::Coordinate::~Coordinate()'
/root/osm2pgsql/build_geometry.cpp:89: undefined reference to `geos::geom::Coordinate::~Coordinate()'
build_geometry.o: In function `get_wkt_split':
/root/osm2pgsql/build_geometry.cpp:159: undefined reference to `geos::geom::Coordinate::~Coordinate()'
```
(Building against 3.3.8 previously had been fine.)
Adding `#include <geos/geom/Coordinate.h>` to build_geometry.cpp fixed this.
I haven't submitted this as a pull request as I'm sufficiently n00b-like with both Ubuntu and C++ that it's very possibly a peculiarity of my system, but I've posted it here in case it actually is a wider issue.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/167
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140709/9f162daa/attachment.html>
More information about the Tile-serving
mailing list