Skip to content

Fix builds under Boost 1.90.0 (Ubuntu 26.04) - #1569

Open
PeterBowman wants to merge 1 commit into
rdiankov:masterfrom
PeterBowman:boost-1.90.0
Open

Fix builds under Boost 1.90.0 (Ubuntu 26.04)#1569
PeterBowman wants to merge 1 commit into
rdiankov:masterfrom
PeterBowman:boost-1.90.0

Conversation

@PeterBowman

Copy link
Copy Markdown
Contributor
  • Boost.System no longer exists as a standalone CMake package since 1.89 (https://www.boost.org/releases/1.89.0/):
    • The stub compiled library has been removed; System has been header-only since release 1.69.
    • This may affect CMakeLists.txt files containing find_package(Boost COMPONENTS system ...). The easiest fix is to just remove system from the list of components as it's no longer required. If compatibility with Boost releases earlier than 1.69 is to be preserved, one can use find_package(Boost COMPONENTS ... OPTIONAL_COMPONENTS system).
  • boost::filesystem::is_complete was replaced by is_absolute at least since 1.69, i.e. 2018 (https://www.boost.org/doc/libs/1_90_0/libs/filesystem/doc/v3.html)
  • boost::filesystem::path::normalize was long deprecated and ceased to exist; the replacement code was already there, I have just activated the enclosing #if-branch (https://stackoverflow.com/a/1750710)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant