Ticket #173 (closed defect: wontfix)
unresolved external symbol geos::geom::GeometryFactory::createPolygon
| Reported by: | Kees | Owned by: | mloskot |
|---|---|---|---|
| Priority: | major | Milestone: | 3.2.3 |
| Component: | Core | Version: | 3.2.0 |
| Severity: | Significant | Keywords: | |
| Cc: |
Description (last modified by mloskot) (diff)
error LNK2019: unresolved external symbol "public: class
geos::geom::Polygon * __thiscall
geos::geom::GeometryFactory::createPolygon(
class geos::geom::LinearRing *,
class _STL::vector
<
class geos::geom::Geometry *,
class _STL::allocator
<
class geos::geom::Geometry *
>
> *)const "
(?createPolygon@GeometryFactory@geom@geos@@QBEPAVPolygon@23@PAVLinearRing@23@PAV?$vector@PAVGeometry@geom@geos@@V?$allocator@PAVGeometry@geom@geos@@@_STL@@@_STL@@@Z)
referenced in function _main
Occured in example:
vector<geos::geom::Geometry*> inner_holes; vector<geos::geom::Geometry*> outer_holes; geos::geom::DefaultCoordinateSequence* innerSequence=new geos::geom::DefaultCoordinateSequence(); innerSequence->add(geos::geom::Coordinate(1, 1)); innerSequence->add(geos::geom::Coordinate(2, 1)); innerSequence->add(geos::geom::Coordinate(2, 2)); innerSequence->add(geos::geom::Coordinate(1, 1)); geos::geom::LinearRing* innerRing = global_factory.createLinearRing(innerSequence); geos::geom::Polygon* innerPolygon = global_factory.createPolygon(innerRing,&inner_holes);
The problem is with createPolygon because no unresolved externals will be created when this method is left out of the example.
Build environment: Windows XP, Visual Studio 7.1, STLPort 4.6.2.
Change History
Note: See
TracTickets for help on using
tickets.
