[geos-devel] Geos not compiling Ubuntu 12.0.4

Mateusz Łoskot mateusz at loskot.net
Fri Oct 10 12:35:23 PDT 2014


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

Best regards,
-- 
Mateusz  Łoskot, http://mateusz.loskot.net


More information about the geos-devel mailing list