[geos-devel] Re: Where did distancePointLine go?
Stuart C Sides
ssides at usgs.gov
Mon Oct 8 14:56:31 EDT 2007
Mark,
I am compiling on Linux x86_64 with only the --prefix option for
configure. I have tested 3.0.0rc4 and several SVN versions. To make sure I
had the latest I downloaded the SVN version again on Oct 8th. I continue
to get the following:
> make FindImageOverlaps.o
FindImageOverlaps.cpp:2:41: error: geos/algorithm/CGAlgorithms.h: No such
file or directory
In file included from FindImageOverlaps.cpp:3:
/XXXX/include/geos/geom/BinaryOp.h:54:44: error:
geos/precision/GeometrySnapper.h: No such file or directory
In file included from /XXXX/geos/include/geos.h:27,
from /XXXX/autoseedAug2007/isis/inc/PolygonTools.h:26,
from FindImageOverlaps.cpp:9:
/XXXX/geos/include/geos/geom.h:145:2: warning: #warning *** FIXME: to be
removed, temporarly set to allow a quick successful build
In file included from /XXXX/geos/include/geos.h:29,
from /XXXX/autoseedAug2007/isis/inc/PolygonTools.h:26,
from FindImageOverlaps.cpp:9:
/XXXX/geos/include/geos/io.h:61:2: warning: #warning *** FIXME: to be
removed, temporarly set to allow a quick successful build
/XXXX/geos/include/geos/geom/BinaryOp.h: In function
'std::auto_ptr<geos::geom::Geometry> geos::geom::SnapOp(const
geos::geom::Geometry*, const geos::geom::Geometry*, BinOp)':
/XXXX/geos/include/geos/geom/BinaryOp.h:131: error:
'geos::precision::GeometrySnapper' has not been declared
/XXXX/geos/include/geos/geom/BinaryOp.h:135: error: 'GeometrySnapper' has
not been declared
/XXXX/geos/include/geos/geom/BinaryOp.h:157: error: 'GeometrySnapper' was
not declared in this scope
/XXXX/geos/include/geos/geom/BinaryOp.h:157: error: expected `;' before
'snapper0'
/XXXX/geos/include/geos/geom/BinaryOp.h:158: error: 'snapper0' was not
declared in this scope
/XXXX/geos/include/geos/geom/BinaryOp.h:161: error: expected `;' before
'snapper1'
/XXXX/geos/include/geos/geom/BinaryOp.h:162: error: 'snapper1' was not
declared in this scope
FindImageOverlaps.cpp: In member function 'geos::geom::LinearRing*
Isis::FindImageOverlaps::Despike(const geos::geom::LineString*)':
FindImageOverlaps.cpp:392: error: 'geos::algorithm::CGAlgorithms' has not
been declared
FindImageOverlaps.cpp:400: error: 'geos::algorithm::CGAlgorithms' has not
been declared
/XXXX/geos/include/geos/geom/BinaryOp.h: In function
'std::auto_ptr<geos::geom::Geometry> geos::geom::SnapOp(const
geos::geom::Geometry*, const geos::geom::Geometry*, BinOp) [with BinOp =
geos::operation::overlay::overlayOp]':
/XXXX/geos/include/geos/geom/BinaryOp.h:271: instantiated from
'std::auto_ptr<geos::geom::Geometry> geos::geom::BinaryOp(const
geos::geom::Geometry*, const geos::geom::Geometry*, BinOp) [with BinOp =
geos::operation::overlay::overlayOp]'
FindImageOverlaps.cpp:152: instantiated from here
/XXXX/geos/include/geos/geom/BinaryOp.h:150: warning: unused variable
'operand0'
make: *** [FindImageOverlaps.o] Error 1
If I manually copy CGAlgorithms.h and GeometrySnapper.h from
"source/headers/..." to their respective include areas everything works
fine including the ld and execution. It seems odd that the object modules
would be in the library but these two include files are not moved during
the "make install".
Thanks
Stuart
On Sun, 2007-09-30 at 20:45 -0700, Stuart C Sides wrote:
>
> GEOS devels,
>
> In code we wrote for 2.2.3, we used CGAlgorithms::distancePointLine. I
> can't seem to find it or a replacement for it in version 3.0.0*. Was
> this a bad thing, am I missing something...? Any help would be
> appreciated.
>
> Thanks
> Stuart
Hi Stuart,
Are you using GEOS 3.0.0rc4 compiled as a DLL under Win32? There was a
fix a while back for MingW DLLs that was causing functions not to be
exported which has been fixed in the SVN repository.
ATB,
Mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geos-devel/attachments/20071008/1938ea2d/attachment.html
More information about the geos-devel
mailing list