osm2pgsql compile error against geos trunk #3299
Comments
Author: jburgess777[at]googlemail.com That looks OK, but I'll see if I can find a simpler way to do it. |
Author: springmeyer Great. it seems like one of the last two changes here may have caused this: http://trac.osgeo.org/geos/log/trunk/include/geos/geom/CoordinateArraySequenceFactory.h Also, just tested against geos 3 release and it compiles fine. |
Author: massoo[at]gmail.com I am receiving the same error while compiling the osm2pgsql trunk. The details are: Please help me to resolve |
Author: AMDmi3 The same problem on FreeBSD after geos updated to 3.3.0. Actually, there are two kinds of errors:
The patch attached only fixes the first one (and it can be done in a simpler way), second is more tricky - I've fixed it by adding dynamic_cast's which should deal with virtual inheritance, but I really don't like it. For now, I've only checked whether it builds. |
Author: springmeyer ping jburgess777 |
Author: oschrenk I applied the patch from AMDmi3 and get this error
I was trying to compile using homebrew using this environment:
|
Author: oschrenk I added a patch that fixed my problem with the geotypes.h. Cerdit goes to AMDmi3 that solved it Thanks! |
Author: amm I have committed a patch by AMDmi3 for this. In case it still doesn't work, please reopen the ticket. |
Reporter: springmeyer
[Submitted to the original trac issue database at 7.53am, Wednesday, 20th October 2010]
Building osm2pgsql trunk against geos trunk leads to:
I appears that size_t must now be explicitly passed, and this patch seems to fix the problem:
The text was updated successfully, but these errors were encountered: