Comments (10)
@dbaston It works! I have sent pull request.
from geos.
Please check the list of options from https://lld.llvm.org/missingkeyfunction.html#missing-key-function
from geos.
Forgot to mention that i'm using libgeos 3.8.0 from brew. On macOS Catalyna 10.15.3, in Xcode 11.3.1
from geos.
This sounds similar to a unit test that also fails on OS X: https://github.com/libgeos/geos/blob/master/tests/unit/geom/CoordinateArraySequenceFactoryTest.cpp#L56
That failure has been reported at least three times and never resolved:
https://trac.osgeo.org/geos/ticket/299
https://trac.osgeo.org/geos/ticket/328
https://trac.osgeo.org/geos/ticket/894
from geos.
Black magic.
from geos.
Built debug version of geos 3.8.0 from sources. Tried it. It works without issues. Very interesting.
And now most of geos_c also won't work correctly because it relies on dynamic_cast<LineString *>
a lot.
from geos.
Now I've tried static version from brew. No issues.
from geos.
next step. nm -gC libgeos.dylib shows bunch of vtables
00000000000ac920 S vtable for geos::geom::LinearRing
00000000000acf88 S vtable for geos::geom::MultiPoint
00000000000ab498 S vtable for geos::geom::LineSegment
00000000000ad178 S vtable for geos::geom::MultiPolygon
00000000000ac8a8 S vtable for geos::geom::GeometryFactory
00000000000acd98 S vtable for geos::geom::MultiLineString
00000000000abb50 S vtable for geos::geom::CoordinateSequence
00000000000ac670 S vtable for geos::geom::GeometryCollection
00000000000abe00 S vtable for geos::geom::CoordinateArraySequence
00000000000ac860 S vtable for geos::geom::GeometryComponentFilter
00000000000ab570 S vtable for geos::geom::CoordinateArraySequenceFactory
00000000000adb38 S vtable for geos::geom::prep::PreparedPoint
00000000000adbc8 S vtable for geos::geom::prep::PreparedPolygon
00000000000adaa8 S vtable for geos::geom::prep::PreparedLineString
00000000000ada08 S vtable for geos::geom::prep::BasicPreparedGeometry
00000000000add30 S vtable for geos::geom::prep::PreparedPolygonCovers
00000000000adcd8 S vtable for geos::geom::prep::PreparedPolygonContains
00000000000ad978 S vtable for geos::geom::util::PointExtracter
00000000000ad9c0 S vtable for geos::geom::util::PolygonExtracter
00000000000ad7d8 S vtable for geos::geom::util::CoordinateOperation
00000000000ad8b0 S vtable for geos::geom::util::GeometryTransformer
00000000000ad928 S vtable for geos::geom::util::LinearComponentExtracter
00000000000ad788 S vtable for geos::geom::util::ComponentCoordinateExtracter
00000000000ad830 S vtable for geos::geom::util::Densifier::DensifyTransformer
00000000000ad368 S vtable for geos::geom::Point
00000000000ad598 S vtable for geos::geom::Polygon
00000000000ac2e0 S vtable for geos::geom::Geometry::GeometryChangedFilter
00000000000ac318 S vtable for geos::geom::Geometry
no vtable for LineString as you may notice.
from geos.
Compiled same version on Ubuntu 18.04 and vtable persists. Looks like a compile issue.
macOS:
% c++ --version
Apple clang version 11.0.0 (clang-1100.0.33.17)
Target: x86_64-apple-darwin19.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Ubuntu
$ c++ --version
clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
from geos.
Thank you for the link, @jsonn. @molind , I wonder what happens if you move the definition of LineString's destructor from the header to the source file?
from geos.
Related Issues (20)
- Possible backport for concaveHull HOT 7
- OffsetCurve produces MultiLineString with 2 contiguous lines
- Offset curve issue with closed linestring and miter join HOT 2
- [FR] optional GPU acceleration using OpenCL or Vulkan Compute HOT 1
- Overlapping Voronoi output from four input points HOT 1
- Negative buffer with `join-style` mitre HOT 9
- "Divide by zero" warning when `difference` is applied HOT 6
- "Invalid value" warning when `difference` is applied HOT 4
- Union on 3 Polygons results in a MultiPolygon with 1 Polygon HOT 4
- ST_Relate gives incorrect result for interior-interior intersection dimension HOT 2
- Build fails with LTO (odr violations)
- Reducing precision results in empty polygon unnecessarily (GEOSGeom_setPrecision) HOT 12
- Unexpected result for intersection of Geometrycollection with polygon? HOT 2
- Relate algorithm Issue Summary
- AssertionFailedException: found two shells in EdgeRing list HOT 1
- Voronoi diagram contains collection with a LineString
- Union doesn't merge linestrings... HOT 3
- RelateCompute intersection report inconsistent for lines and boundary points HOT 5
- There seems to be a circular reference in WKT BNF HOT 2
- Performance optimisation of point-to-point distance HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geos.