Closed Jiboxiake closed 2 years ago
What are the exact command lines you used to configure/compile/install absl/s2?
For S2 it is exactly the same as the one from the readme. For Absl, first I want to point out your setup page https://s2geometry.io/about/platforms never mentioned anything about that. So I first followed the steps from https://abseil.io/docs/cpp/quickstart-cmake . I tried to follow the link S2 has on the build section but I have no clue what they are trying to do there. Are they trying to install GoogleTest and S2 and compile them? It seems like they never mentioned. So in short, I followed the instructions on your Github page and followed the abseil cmake setup.
You need to replace /path/to/absl/install
with the path that you actually used to install absl -- whatever you used for CMAKE_INSTALL_PREFIX
with absl.
Don't look at https://s2geometry.io/about/platforms; it hasn't been updated to talk about absl.
https://github.com/google/s2geometry/blob/master/README.md#building has the s2 side of things. https://abseil.io/docs/cpp/tools/cmake-installs is for absl.
I also struggled with the build instructions; with no background for what googletest or abseil are or why they're required it's quite confusing.
In case it helps point you in the right direction, I finally managed to write this Dockerfile which builds a python wheel of our fork of s2-py, including installing and building abseil and s2geometry: https://github.com/koordinates/s2-py/blob/master/Dockerfile
Thank you all! That helps.
I tried to run this command but it keeps throwing
I have followed the steps pointed to by the link to install abseil except I couldn't build with /temporary/build/abseil-cpp but only with /build/abseil-cpp. I don't know if this is related.