X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; q=dns; s=default; b=M/X o9X16/uce0PvfRLesUliu8Ch39rdnQS17mnnk31DQUUpN0WVvM100dVxP2POfNLc 8iFeJ36d3Di2f1W3myD3704X1Q688FLZoXNy3p1GvxwDfHjE2wn6sR4HLmw2rE9N x/LIG+CQ5F286rrUs4u9IFMtlUMQIMOZhUfN4QJA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; s=default; bh=j0pk81qip 4HdTYn5UFnnV9Ijiw0=; b=ViQHkoZoawpnngQazpRYlbmjPINXexapYyshRig+G 4QGTrEDBCjRGEXhoicRnzVyrkq9861283rAlv9zJTXe5t4n4/Ye2wZ5uUHM016co Hmfks87cR35Ss1TfGsXaNFH/e/bZGjS4VQmiVa85lA7WqzHTUmOYU2/ixMIYzMkx iY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=ultimate, UD:z, Hx-languages-length:3107 X-HELO: mail-yw0-f171.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=c9G8pj1O5/8OHuABefQQDvEKum11I/OJI6SRFadt/HU=; b=Rgi4brRqDgsmsOKTROIT0qcpAZTKiKb9pTQhJAHduXz2MDdoPKdNUIsCiIK20PHaye 25qMPz8Je8nKA1BAzBe3oQxaZyrQSp3BdiU1I5mfJ+Vtf87fycUuckllHvLIqRkDAmyD VlvLu1+orVrnfwWVgJfB5wJIHyYXvUtHT2UCM/IHn8eDR9x6KweBU4KnPpGwUk1WmyHy QwI35RI/Prts0DuC0ffVR5k6ca41LTeposA/Aus+Lpd/wvZyaLkPAdOD3OPtQ7+ZxSly L5m/4KyQjW7Hz7WjHxDvsP0q+sFoT6NzUqnz9pKt1ZZCe3BruxAxIBMOJVBrRgY114// VMRg== X-Gm-Message-State: AEkoous9+rrSoVKIIFUeWemcZKouwF2aCIAbLDEJhOb/iq5aWf+O1eRvUQV27L+3Yi5G4xaS8G56AAegqSTCTQ== X-Received: by 10.129.87.87 with SMTP id l84mr18001890ywb.259.1471880510317; Mon, 22 Aug 2016 08:41:50 -0700 (PDT) MIME-Version: 1.0 From: Felipe Vieira Date: Mon, 22 Aug 2016 12:41:49 -0300 Message-ID: Subject: building libgeos To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u7MFgBuN015314 Guys, I'm getting this error when trying to compile libgeos: """ In file included from ../../../include/geos/geom/Geometry.h:25:0, from IndexedPointInAreaLocator.cpp:17: ../../../include/geos/geom/Coordinate.inl: In member function ‘bool geos::geom::Coordinate::isNull() const’: ../../../include/geos/platform.h:90:27: error: ‘isnan’ was not declared in this scope # define ISNAN(x) (isnan(x)) ^ ../../../include/geos/geom/Coordinate.inl:38:10: note: in expansion of macro ‘ISNAN’ return (ISNAN(x) && ISNAN(y) && ISNAN(z)); ^ ../../../include/geos/platform.h:90:27: note: suggested alternative: # define ISNAN(x) (isnan(x)) ^ ../../../include/geos/geom/Coordinate.inl:38:10: note: in expansion of macro ‘ISNAN’ return (ISNAN(x) && ISNAN(y) && ISNAN(z)); ^ In file included from ../../../include/geos/geom/Coordinate.inl:22:0, from ../../../include/geos/geom/Coordinate.h:158, from ../../../include/geos/geom/Envelope.h:25, from ../../../include/geos/geom/Geometry.h:27, from IndexedPointInAreaLocator.cpp:17: /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/cmath:862:5: note: ‘std::isnan’ isnan(_Tp __f) ^ In file included from ../../../include/geos/geom/Geometry.h:25:0, from IndexedPointInAreaLocator.cpp:17: ../../../include/geos/geom/Coordinate.inl: In member function ‘bool geos::geom::Coordinate::equals3D(const geos::geom::Coordinate&) const’: ../../../include/geos/platform.h:90:27: error: ‘isnan’ was not declared in this scope # define ISNAN(x) (isnan(x)) ^ ../../../include/geos/geom/Coordinate.inl:77:21: note: in expansion of macro ‘ISNAN’ ((z == other.z)||(ISNAN(z) && ISNAN(other.z))); ^ ../../../include/geos/platform.h:90:27: note: suggested alternative: # define ISNAN(x) (isnan(x)) ^ ../../../include/geos/geom/Coordinate.inl:77:21: note: in expansion of macro ‘ISNAN’ ((z == other.z)||(ISNAN(z) && ISNAN(other.z))); ^ In file included from ../../../include/geos/geom/Coordinate.inl:22:0, from ../../../include/geos/geom/Coordinate.h:158, from ../../../include/geos/geom/Envelope.h:25, from ../../../include/geos/geom/Geometry.h:27, from IndexedPointInAreaLocator.cpp:17: /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/cmath:862:5: note: ‘std::isnan’ isnan(_Tp __f) ^ make[5]: *** [Makefile:483: IndexedPointInAreaLocator.lo] Error 1 make[5]: Leaving directory '/tmp/alt_geos/geos-3.5.0/src/algorithm/locate' make[4]: *** [Makefile:502: all-recursive] Error 1 make[4]: Leaving directory '/tmp/alt_geos/geos-3.5.0/src/algorithm/locate' make[3]: *** [Makefile:556: all-recursive] Error 1 make[3]: Leaving directory '/tmp/alt_geos/geos-3.5.0/src/algorithm' make[2]: *** [Makefile:595: all-recursive] Error 1 make[2]: Leaving directory '/tmp/alt_geos/geos-3.5.0/src' make[1]: *** [Makefile:469: all-recursive] Error 1 make[1]: Leaving directory '/tmp/alt_geos/geos-3.5.0' make: *** [Makefile:416: all] Error 2 """ I was trying a lot of google solutions but none of the worked. Can you suggest any work around? The libgeos github does not allow me to open an issue. My ultimate goal is to use matplotlib Basemap. Best regards, -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple