public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: building libgeos
@ 2016-08-23  4:09 Felipe Vieira
  0 siblings, 0 replies; 4+ messages in thread
From: Felipe Vieira @ 2016-08-23  4:09 UTC (permalink / raw)
  To: cygwin

Dear Gerrit,

I have tried this workaround.

I'm trying to exhaust all the possibilities before submitting a bug.

--

Dear Marco,

I have tried the package from cygwin. It installed correctly and was
'kind of able to run' (imports went fine):
But somewhere in the first plot it threw an error. I do not have the
log here with me but it was something related to 'get_facecolor' in
matplotlib.

The exact same program was able to run flawless in my lubuntu so I
infer it is something to do with libgeos on cygwin.

Thank you both for your valuable input. I opened an issue on matplotlib basemap.

https://github.com/matplotlib/basemap/issues/314

I'll let you know when I have this problem solved.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: building libgeos
  2016-08-22 16:28 Felipe Vieira
  2016-08-22 17:24 ` Gerrit Haase
@ 2016-08-22 17:37 ` Marco Atzeri
  1 sibling, 0 replies; 4+ messages in thread
From: Marco Atzeri @ 2016-08-22 17:37 UTC (permalink / raw)
  To: cygwin

On 22/08/2016 17:41, Felipe Vieira wrote:
> Guys,
> I'm getting this error when trying to compile libgeos:
>
>
> Can you suggest any work around?

Hi Felipe,
geos is already available in cygwin:

$ cygcheck -cd |grep geos
libgeos-devel                           3.5.0-1
libgeos_3_5                             3.5.0-1
libgeos_c1                              3.5.0-1

>
> The libgeos github does not allow me to open an issue.
>
> My ultimate goal is to use matplotlib Basemap.

any reason to not use the available cygwin package ?

>
> Best regards,

Regards
Marco

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: building libgeos
  2016-08-22 16:28 Felipe Vieira
@ 2016-08-22 17:24 ` Gerrit Haase
  2016-08-22 17:37 ` Marco Atzeri
  1 sibling, 0 replies; 4+ messages in thread
From: Gerrit Haase @ 2016-08-22 17:24 UTC (permalink / raw)
  To: cygwin

2016-08-22 17:41 GMT+02:00 Felipe Vieira writes:
> Guys,
> I'm getting this error when trying to compile libgeos:
...
> I was trying a lot of google solutions but none of the worked.


Hello Felipe,

> Can you suggest any work around?

I found this:

https://trac.osgeo.org/geos/ticket/595

So there seems to be some support? Also Autotools should work and find
if ISNAN is available or not?

> The libgeos github does not allow me to open an issue.

I see here: https://trac.osgeo.org/geos
this information:

"Bug Reporting
You will need an OSGeo user account to submit bugs here. A "New
Ticket" button will appear once you have logged in."

Regards,
Gerrit

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* building libgeos
@ 2016-08-22 16:28 Felipe Vieira
  2016-08-22 17:24 ` Gerrit Haase
  2016-08-22 17:37 ` Marco Atzeri
  0 siblings, 2 replies; 4+ messages in thread
From: Felipe Vieira @ 2016-08-22 16:28 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-22 20:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-23  4:09 building libgeos Felipe Vieira
  -- strict thread matches above, loose matches on Subject: below --
2016-08-22 16:28 Felipe Vieira
2016-08-22 17:24 ` Gerrit Haase
2016-08-22 17:37 ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).