Opened 16 years ago
Closed 13 years ago
#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 )
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 (8)
comment:1 by , 16 years ago
Component: | Build/Install → Core |
---|
comment:2 by , 16 years ago
Version: | → 3.0.0 |
---|
comment:3 by , 15 years ago
Milestone: | → 3.2.0 |
---|
comment:4 by , 15 years ago
Description: | modified (diff) |
---|---|
Owner: | set to |
Status: | new → assigned |
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
comment:5 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I've tested and GEOS 3.0.0 successfulyl builds with both compilers
- Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.6030 for 80x86
- Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
However, GEOS 3.0.0 package includes broken makefile.vc (need to remove .obj entries for non-existing files) and dirlist.mk is missing.
Closing as fixed.
comment:6 by , 14 years ago
Resolution: | fixed |
---|---|
Severity: | Unassigned → Significant |
Status: | closed → reopened |
Version: | 3.0.0 → 3.2.0 |
I'm having the exact same problem under MacOS X 10.6, with both GCC 4.0 and 4.2, both with the framework and installing from source. I tried with GEOS 3.1.1 and 3.2.0.
It affects: geos::geom::createPolygon(geos::geom::LinearRing *, std::vector<geos::geom::Geometry *> *) const geos::geom::createPolygon(geos::geom::LinearRing &, std::vector<geos::geom::Geometry *> &) const
The createPolygon() function works well, and this is only for the C++ interface.
comment:8 by , 13 years ago
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
lack of response from people willing to build on those architectures is a won't fix for me
Sources from: tags/3.0.0-rc5