Hello everyone, while I was organizing the third-party libraries for Cesium Native, I noticed that abseil-cpp is widely used. However, its repository URL and version are not specified in the ThirdParty.json file. Could someone please add this information? I specifically need the details for version v0.51.0. Thank you!
I think that abseil is only used as a (transitive) dependency via s2geometry. And it looks like - at the time of writing this - cesium-native uses s2geometry version 0.9.0. And it looks like, in this version, absl was just stored in the third-party subfolder, without specific version information.
Some related discussion in Move Abseil code in s2geometry to an isolated namespace. by kring · Pull Request #892 · CesiumGS/cesium-native · GitHub (maybe @Kevin_Ring will chime in and add details here)
Hello, thank you for your explanation. I attempted to compile s2geometry version 0.9.0, and while there are indeed absl files in the thirdparty directory, most of them are header files, and I didn’t find the s2 project linking to any absl-related library files. So I’m wondering - does s2 actually use absl library files?
I haven’t looked into the details (and some of this may have changed - version 0.9.0 is six years old!). But I assume that at this point, ‘abseil’ was a “header-only” library - so maybe there just are no “library files” or “.cpp files”. If it compiles in that version, then… that’s the most likely explanation.
It uses a number of abseil files: Code search results · GitHub . s2geometry is always a bit of a hassle - it’s the only library (as far as I know) that does what it does, but it brings in a whole lot of dependencies that we otherwise wouldn’t need to include (Abseil and OpenSSL, primarily). It’s definitely a wishlist item for us to have our own implementation of s2 in Cesium Native instead of needing to bring in s2geometry.