[geos-devel] [#317] Build configuration for CMake build system

strk strk at keybit.net
Thu Jan 21 03:15:26 EST 2010

On Wed, Jan 20, 2010 at 11:05:40PM +0000, Mateusz Loskot wrote:
> strk wrote:

> > /usr/src/geos/cmake_build/include/geos/platform.h:147:3: error: #error "Could not find finite or isfinite function or macro!"
> > make[2]: *** [src/CMakeFiles/geos.dir/algorithm/distance/DiscreteHausdorffDistance.cpp.o] Error 1
> > make[1]: *** [src/CMakeFiles/geos.dir/all] Error 2
> Yes, I was playing with the platform.h a bit and then I was gradually
> fixing this kind of issues about missing isnan or isfinite on various
> systems. So, something may be still not working well on some environments.
> However, remember to remove old versions of platform.h
> if you have any, for instance generated by autoconf
> build in trunk/include/geos. It may cause problems.

No platform.h in source tree.
The platform.h in build tree is created by cmake from platform.h.cmake
(I double-checked by removing and running cmake again)


  ()   Free GIS & Flash consultant/developer
  /\   http://foo.keybit.net/~strk/services.html

More information about the geos-devel mailing list