[postgis-devel] [PostGIS] #473: Can't compile at all under Windows

PostGIS trac at osgeo.org
Tue Mar 30 04:09:14 PDT 2010


#473: Can't compile at all under Windows
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  PostGIS 2.0.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:  mingw        
----------------------+-----------------------------------------------------
Comment (by nicklas):

 I have never been able to compile GEOS 3.3 in windows. Haven't tried for a
 while but now it ended like this:

 {{{
 In file included from ../../../include/geos/geom/Geometry.h:26,
                  from IndexedPointInAreaLocator.cpp:18:
 ../../../include/geos/platform.h:104:2: #error "Can not compile without
 isnan fu                        nction or macro"
 In file included from ../../../include/geos/geom/Coordinate.h:154,
                  from ../../../include/geos/geom/Envelope.h:26,
                  from ../../../include/geos/geom/Geometry.h:28,
                  from IndexedPointInAreaLocator.cpp:18:
 ../../../include/geos/geom/Coordinate.inl: In member function `bool
 geos::geom::                        Coordinate::isNull() const':
 ../../../include/geos/geom/Coordinate.inl:46: error: `ISNAN' was not
 declared in                         this scope
 ../../../include/geos/geom/Coordinate.inl: In member function `bool
 geos::geom::                        Coordinate::equals3D(const
 geos::geom::Coordinate&) const':
 ../../../include/geos/geom/Coordinate.inl:111: error: `ISNAN' was not
 declared i                        n this scope
 make[4]: *** [IndexedPointInAreaLocator.lo] Error 1
 make[4]: Leaving directory `/c/utv/src/geos_trunk/src/algorithm/locate'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/c/utv/src/geos_trunk/src/algorithm/locate'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/c/utv/src/geos_trunk/src/algorithm'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/c/utv/src/geos_trunk/src'
 make: *** [all-recursive] Error 1
 }}}

 /Nicklas

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/473#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list