[geos-devel] Actual CVS version of geos does not build

strk at refractions.net strk at refractions.net
Wed Apr 12 07:40:35 EDT 2006


This was a case of circular dependency introduced 
to have some GeometryFactory functions return
auto_ptr<Geometry>. I avoided use of the typedefs
defined in Geometry.h and removed that include
from GeometryFactory.h. Works for me now.

--strk;

On Wed, Apr 12, 2006 at 12:43:37PM +0200, Silke Reimer wrote:
> 
> Hallo!
> 
> I just tried to build the actual geos CVS version on a 64-bit architecture
> but I don't get it working:
> 
> # tar xjf geos-cvs.tar.bz2
> # cd geos-3.0.0cvs/
> # ./configure
> # make
> 
> leads to 
> 
> [...]
> Making all in util
> make[3]: Entering directory `/home/silke/geos-3.0.0cvs/source/geom/util'
> if /bin/sh ../../../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../../source/headers -I../../../source/headers/geos -I../../../source/headers     -g -O2 -DGEOS_INLINE -MT GeometryEditor.lo -MD -MP -MF ".deps/GeometryEditor.Tpo" -c -o GeometryEditor.lo GeometryEditor.cpp; \
> then mv -f ".deps/GeometryEditor.Tpo" ".deps/GeometryEditor.Plo"; else rm -f ".deps/GeometryEditor.Tpo"; exit 1; fi
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I. -I../../../source/headers -I../../../source/headers/geos -I../../../source/headers -g -O2 -DGEOS_INLINE -MT GeometryEditor.lo -MD -MP -MF .deps/GeometryEditor.Tpo -c GeometryEditor.cpp  -fPIC -DPIC -o .libs/GeometryEditor.o
> In file included from ../../../source/headers/geos/geom/Geometry.h:649,
>                  from ../../../source/headers/geos/geom/GeometryFactory.h:20,
>                  from GeometryEditor.cpp:23:
> ../../../source/headers/geos/geom/Geometry.inl: In member function `const
>    geos::geom::PrecisionModel* geos::geom::Geometry::getPrecisionModel() const
>    ':
> ../../../source/headers/geos/geom/Geometry.inl:28: error: `getPrecisionModel'
>    undeclared (first use this function)
> ../../../source/headers/geos/geom/Geometry.inl:28: error: (Each undeclared
>    identifier is reported only once for each function it appears in.)
> make[3]: *** [GeometryEditor.lo] Fehler 1
> make[3]: Leaving directory `/home/silke/geos-3.0.0cvs/source/geom/util'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory `/home/silke/geos-3.0.0cvs/source/geom'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/silke/geos-3.0.0cvs/source'
> make: *** [all-recursive] Fehler 1
> 
> 
> Do you have any idea what's going wrong?
> 
> Please let me know if you need additional information.
> 
> Many greetings,
> 
>     Silke
> 
> -- 
> Silke Reimer   : www.intevation.de/~silke | GISpatcher: www.gispatcher.de
> Intevation GmbH: www.intevation.de        | Thuban    : thuban.intevation.org
> Georgstr.4     : 49074 Osnabrück          | FreeGIS   : www.freegis.org



> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel


-- 

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 




More information about the geos-devel mailing list