Skip to content

Boost 1.89 compatibility issue w/tilemaker (macOS) #862

@johncarmack1984

Description

@johncarmack1984

In Boost 1.89 (released 8/6/2025), there were several changes to the Geometry library used by tilemaker.

This included removing static variables from header files, which has caused some issues in tilemaker when using #include <boost/sort/sort.hpp> (ie in tilemaker/include/tile_data.h, see this failed workflow's error messages).

This can be circumvented by using Boost 1.88.

However, homebrew install does not support this; one must either build Boost from source OR install it using a custom tap with the archived formula (which is both the recommended solution in their docs and considered counter to homebrew's philosophy by at least one maintainer).

This increases the complexity of building tilemaker on macOS significantly.

It would seem a refactor of tilemaker's boost/sort headers is needed to accomodate the new structure of boost/geometry, but accomplishing this feat proved beyond what my (admittedly novice) C++ skills could solve in a weekend.

Any thoughts or tips one might give to make this an easily-solved problem would be welcomed, and if I can solve it, will be happy to PR, but lacking that, here's an issue to note that the problem has been identified & diagnosed. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions