[geos-devel] [GEOS] #630: CMake with mingw fail
GEOS
geos-trac at osgeo.org
Mon Jun 3 23:49:20 PDT 2013
#630: CMake with mingw fail
------------------------+---------------------------------------------------
Reporter: robe | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone:
Component: Default | Version: svn-trunk
Severity: Unassigned | Keywords:
------------------------+---------------------------------------------------
Comment(by robe):
Let me try the second part again:
{{{
-- The C compiler identification is GNU 4.8.0
-- The CXX compiler identification is GNU 4.8.0
-- Check for working C compiler: c:/ming64/mingw64/bin/gcc.exe
-- Check for working C compiler: c:/ming64/mingw64/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: c:/ming64/mingw64/bin/g++.exe
-- Check for working CXX compiler: c:/ming64/mingw64/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Setting GEOS version 3.4.0dev as port of JTS 1.12.0
-- Setting GEOS C API version 1.8.0
-- Setting GEOS build type - Debug
-- Forcing IEEE 754 using flag -ffloat-store - ON
-- Setting GEOS compilation with small functions inlining - ON
-- Setting GEOS compilation with assert() macro enabled - OFF
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file ieeefp.h
-- Looking for include file ieeefp.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int64_t
-- Check size of int64_t - done
-- Performing Test HAVE_STD_ISNAN
-- Performing Test HAVE_STD_ISNAN - Failed
-- Looking for isnan
-- Looking for isnan - found
-- Performing Test HAVE_STD_ISFINITE
-- Performing Test HAVE_STD_ISFINITE - Failed
-- Looking for isfinite
-- Looking for isfinite - found
-- Enable GEOS Unit Tests build - ON
-- Enable GEOS XML Tester build - ON
-- Enable GEOS large geometry tests build - ON
-- CMake 2.8.10.2 successfully configured geos using MSYS Makefiles
generator
-- Configuring done
-- Generating done
-- Build files have been written to:
C:/ming64/projects/geos/branches/geos-3.4
uild/mingw
Scanning dependencies of target geos
[ 0%] Building CXX object src/CMakeFiles/geos.dir/algorithm/Angle.cpp.obj
c:/ming64/projects/geos/branches/geos-3.4/src/algorithm/Angle.cpp:1:0:
warning
-fPIC ignored for target (all code is position independent) [enabled by
defaul
/**********************************************************************
^
In file included from
C:/ming64/projects/geos/branches/geos-3.4/include/geos/g
m/Coordinate.h:19:0,
from
c:/ming64/projects/geos/branches/geos-3.4/src/algorithm/
gle.cpp:23:
C:/ming64/projects/geos/branches/geos-3.4/include/geos/geom/Coordinate.inl:
In
ember function 'bool geos::geom::Coordinate::isNull() const':
C:/ming64/projects/geos/branches/geos-3.4/build/mingw/include/geos/platform.h:
6:27: error: 'isnan' was not declared in this scope
# define ISNAN(x) isnan(x)
^
C:/ming64/projects/geos/branches/geos-3.4/include/geos/geom/Coordinate.inl:38:
: note: in expansion of macro 'ISNAN'
return (ISNAN(x) && ISNAN(y) && ISNAN(z));
^
C:/ming64/projects/geos/branches/geos-3.4/build/mingw/include/geos/platform.h:
6:27: note: suggested alternative:
# define ISNAN(x) isnan(x)
^
C:/ming64/projects/geos/branches/geos-3.4/include/geos/geom/Coordinate.inl:38:
: note: in expansion of macro 'ISNAN'
return (ISNAN(x) && ISNAN(y) && ISNAN(z));
^
In file included from
c:/ming64/projects/geos/branches/geos-3.4/src/algorithm/
gle.cpp:19:0:
c:\ming64\mingw64\include\c++\4.8.0\cmath:836:5: note: 'std::isnan'
isnan(_Tp __f)
^
In file included from
C:/ming64/projects/geos/branches/geos-3.4/include/geos/g
m/Coordinate.h:19:0,
from
c:/ming64/projects/geos/branches/geos-3.4/src/algorithm/
gle.cpp:23:
C:/ming64/projects/geos/branches/geos-3.4/include/geos/geom/Coordinate.inl:
In
ember function 'bool geos::geom::Coordinate::equals3D(const
geos::geom::Coordi
te&) const':
C:/ming64/projects/geos/branches/geos-3.4/build/mingw/include/geos/platform.h:
6:27: error: 'isnan' was not declared in this scope
# define ISNAN(x) isnan(x)
^
C:/ming64/projects/geos/branches/geos-3.4/include/geos/geom/Coordinate.inl:77:
: note: in expansion of macro 'ISNAN'
((z == other.z)||(ISNAN(z) && ISNAN(other.z)));
^
C:/ming64/projects/geos/branches/geos-3.4/build/mingw/include/geos/platform.h:
6:27: note: suggested alternative:
# define ISNAN(x) isnan(x)
^
C:/ming64/projects/geos/branches/geos-3.4/include/geos/geom/Coordinate.inl:77:
: note: in expansion of macro 'ISNAN'
((z == other.z)||(ISNAN(z) && ISNAN(other.z)));
^
In file included from
c:/ming64/projects/geos/branches/geos-3.4/src/algorithm/
gle.cpp:19:0:
c:\ming64\mingw64\include\c++\4.8.0\cmath:836:5: note: 'std::isnan'
isnan(_Tp __f)
^
make[2]: *** [src/CMakeFiles/geos.dir/algorithm/Angle.cpp.obj] Error 1
make[1]: *** [src/CMakeFiles/geos.dir/all] Error 2
make: *** [all] Error 2
[ 0%] Building CXX object src/CMakeFiles/geos.dir/algorithm/Angle.cpp.obj
c:/ming64/projects/geos/branches/geos-3.4/src/algorithm/Angle.cpp:1:0:
warning
-fPIC ignored for target (all code is position independent) [enabled by
defaul
/**********************************************************************
^
In file included from
C:/ming64/projects/geos/branches/geos-3.4/include/geos/g
m/Coordinate.h:19:0,
from
c:/ming64/projects/geos/branches/geos-3.4/src/algorithm/
gle.cpp:23:
C:/ming64/projects/geos/branches/geos-3.4/include/geos/geom/Coordinate.inl:
In
ember function 'bool geos::geom::Coordinate::isNull() const':
C:/ming64/projects/geos/branches/geos-3.4/build/mingw/include/geos/platform.h:
6:27: error: 'isnan' was not declared in this scope
# define ISNAN(x) isnan(x)
^
C:/ming64/projects/geos/branches/geos-3.4/include/geos/geom/Coordinate.inl:38:
: note: in expansion of macro 'ISNAN'
return (ISNAN(x) && ISNAN(y) && ISNAN(z));
^
C:/ming64/projects/geos/branches/geos-3.4/build/mingw/include/geos/platform.h:
6:27: note: suggested alternative:
# define ISNAN(x) isnan(x)
^
C:/ming64/projects/geos/branches/geos-3.4/include/geos/geom/Coordinate.inl:38:
: note: in expansion of macro 'ISNAN'
return (ISNAN(x) && ISNAN(y) && ISNAN(z));
^
In file included from
c:/ming64/projects/geos/branches/geos-3.4/src/algorithm/
gle.cpp:19:0:
c:\ming64\mingw64\include\c++\4.8.0\cmath:836:5: note: 'std::isnan'
isnan(_Tp __f)
^
In file included from
C:/ming64/projects/geos/branches/geos-3.4/include/geos/g
m/Coordinate.h:19:0,
from
c:/ming64/projects/geos/branches/geos-3.4/src/algorithm/
gle.cpp:23:
C:/ming64/projects/geos/branches/geos-3.4/include/geos/geom/Coordinate.inl:
In
ember function 'bool geos::geom::Coordinate::equals3D(const
geos::geom::Coordi
te&) const':
C:/ming64/projects/geos/branches/geos-3.4/build/mingw/include/geos/platform.h:
6:27: error: 'isnan' was not declared in this scope
# define ISNAN(x) isnan(x)
^
C:/ming64/projects/geos/branches/geos-3.4/include/geos/geom/Coordinate.inl:77:
: note: in expansion of macro 'ISNAN'
((z == other.z)||(ISNAN(z) && ISNAN(other.z)));
^
C:/ming64/projects/geos/branches/geos-3.4/build/mingw/include/geos/platform.h:
6:27: note: suggested alternative:
# define ISNAN(x) isnan(x)
^
C:/ming64/projects/geos/branches/geos-3.4/include/geos/geom/Coordinate.inl:77:
: note: in expansion of macro 'ISNAN'
((z == other.z)||(ISNAN(z) && ISNAN(other.z)));
^
In file included from
c:/ming64/projects/geos/branches/geos-3.4/src/algorithm/
gle.cpp:19:0:
c:\ming64\mingw64\include\c++\4.8.0\cmath:836:5: note: 'std::isnan'
isnan(_Tp __f)
^
make[2]: *** [src/CMakeFiles/geos.dir/algorithm/Angle.cpp.obj] Error 1
make[1]: *** [src/CMakeFiles/geos.dir/all] Error 2
make: *** [all] Error 2
}}}
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/630#comment:1>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list