[geos-devel] Geos not compiling Ubuntu 12.0.4

Sandro Santilli strk at keybit.net
Sat Oct 11 07:05:07 PDT 2014


On Fri, Oct 10, 2014 at 09:35:23PM +0200, Mateusz Łoskot wrote:
> On 10 October 2014 18:38, Sandro Santilli <strk at keybit.net> wrote:
> > On Fri, Oct 10, 2014 at 06:01:30PM +0200, Rémi Cura wrote:
> >> Hey,
> >> After an update of geos (about 50 commits)
> >> ,I tried to compile geos with cmake :
> >> The build stop at 82 % with an error.
> >>
> >> Anybody had the same issue?
> >> Cheers,
> >> Rémi-C
> >>
> >> libgeos/capi/geos_c.cpp: In function ‘geos::geom::Geometry*
> >> GEOSClipByRect(const geos::geom::Geometry*, double, double, double,
> >> double)’:
> >> libgeos/capi/geos_c.cpp:491:64: error: ‘GEOSClipByRect_r’ was not declared
> >
> > Just a guess: nobody added the new RectangleIntersection code into
> > the CMake build script. I know I didn't, and I'm pretty sure nobody
> > else did. The autotools build scripts are the officially maintained ones,
> > do you have problems using them ?
> 
> The CMake configuration does not maintain explicit list of files,
> but it should collect all .cpp files [1] inside the src subtree.
> 
> [1] https://github.com/libgeos/libgeos/blob/svn-trunk/src/CMakeLists.txt#L14

Uhm, then maybe geos_c.h was not regenerated ?
It gets generated from geos_c.h.in by ./configure, with autotools.

--strk;


More information about the geos-devel mailing list