About building a customized project with S2 library

105 views
Skip to first unread message

light...@gmail.com

unread,
Apr 28, 2019, 3:56:09 AM4/28/19
to s2geometry-io
Hello guys,

I am a newbie to S2 geometry. I followed the install guide and successfully built and installed the S2 library to my Ubuntu 18.04 OS.

However, how can I build a customized project that use this newly generated S2 library? Is there a guide for this? How to setup a C++ project that use functions in S2 geometry library in eclipse IDE?

I am a Windows user and typically use Visual Studio for code editing/project config/build/run, thus making CMakelist and makefile for me is not easy. I hope there could be a eclipse starter project that have S2 library configed so I can work on top of that.

By the way, does anybody try to build the S2 library in Visual Studio and build S2 Application project in Visual Studio? Does it work?

Thank you very much!

Best,

light...@gmail.com

unread,
May 6, 2019, 5:57:45 PM5/6/19
to s2geometry-io
By the way, I successfully build S2lib in VIsual Studio 2015 and windows 10. I wonder why on the Github, it says only Unix and MacOS supported.

Thanks.

Anurag Goyal

unread,
Dec 9, 2020, 1:43:51 AM12/9/20
to s2geometry-io
Hello guys,
I am novice to S2 geometry. May anyone help me to understand or find the complete  user guide to install it on Ubantu and and make polygons using spatial data from database.
Or I have to make in-memory database for faster response.

Thank you very much!
Best regards ,

Reply all
Reply to author
Forward
0 new messages