On 19-05-18 00:52:00, Majid Hojati via Geometry wrote:
>I am new to the boost library, I was looking for a wkb conversion for boost
>geometry and find out that it exists as an gis extension but I could not
>find it when I installed boost using apt-get install on Linux.
Since they are extensions, they are not released into `master` branch [1],
so they are not included in the Boost official release.
>I was wondering if there is any specific way to install extensions on Linux?
You can clone the repo and checkout the `develop` branch, then copy any
extension you need from [2] directory.
Alternatively, you can follow this instruction [3] which is:
- shallow clone of the Boost superproject
- initialise bunch of required modules
- run depinst.py to grab any required Boost libraries
- bootstrap b2 driver
- deploy all headers
And, simply, use Geometry from this custom installation - it's a header-only
library after all, no binaries to build and link against.
[1] https://github.com/boostorg/geometry/tree/master/include/boost/geometry
[2] https://github.com/boostorg/geometry/tree/develop/include/boost/geometry/extensions
[3]
https://github.com/boostorg/geometry/blob/develop/.circleci/config.yml#L56-L65
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Fingerprint=C081 EA1B 4AFB 7C19 38BA 9C88 928D 7C2A BB2A C1F2
_______________________________________________
Geometry mailing list
Geometry@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/geometry