s2geometry icon indicating copy to clipboard operation
s2geometry copied to clipboard

Does S2 support Windows?

Open Leedehai opened this issue 2 years ago • 2 comments

Hi, I noticed there are several closed issues that relate to Windows, and based on their contents it appears S2 supports Windows. Code in the ae470b7 version committed on April 11, 2022 doesn't contain getrusage() or headers that indicate POSIX like unistd.h.

However, the official website http://s2geometry.io/about/platforms says Windows is not supported at this time and that POSIX getrusage() is needed.

Could you elaborate on why Windows isn't supported? Or, is the doc out of date? Thanks!

Leedehai avatar May 16 '22 02:05 Leedehai

Documentation appears to be out of date. Windows is certainly less tested, but may work. Try it and let us know.

jmr avatar May 19 '22 10:05 jmr

We use s2 on windows in ArangoDB

MBkkt avatar Nov 28 '22 07:11 MBkkt