[geos-devel] Geos not compiling Ubuntu 12.0.4

Sandro Santilli strk at keybit.net
Sat Oct 11 09:06:46 PDT 2014


On Sat, Oct 11, 2014 at 05:44:28PM +0200, Mateusz Łoskot wrote:
> On 11 October 2014 16:05, Sandro Santilli <strk at keybit.net> wrote:
> > 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:
> >> >>
> >> >> I tried to compile geos with cmake :
> >> >>
> >> >> 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
> >
> > Uhm, then maybe geos_c.h was not regenerated ?
> 
> There is a command in the root CMakeLists.txt for it, so it should be generated
> https://github.com/libgeos/libgeos/blob/svn-trunk/CMakeLists.txt#L305

Well, I tried building it myself but for me it fails as it tries to
build .cpp files that happen to be in the source dir but are not meant
to be built ... Does it build for you ?

Remi, can it be the geos_c.h is being generated in the build dir but
another older version exists in the source dir ?

--strk;

Please help taking QGIS to the next level of quality. Before November 15 !
http://blog.vitu.ch/10102014-1046/crowdfunding-initiative-automated-testing



More information about the geos-devel mailing list