Skip to content

[Compilation Error] Missing <boost/core/static_assert.hpp>... #1094

@nbooster

Description

@nbooster

Hello,

I just tried to build my C++ project again today
with this on my CMake:

Include(FetchContent)

set(FETCHCONTENT_QUIET TRUE)

FetchContent_Declare(Boost
  GIT_REPOSITORY https://github.com/boostorg/boost.git
  GIT_TAG        master # Boost 1.89
  OVERRIDE_FIND_PACKAGE
  GIT_PROGRESS TRUE
)

FetchContent_MakeAvailable(Boost)

and I got this:

/boost-src/libs/url/include/boost/url/grammar/charset.hpp:15:10: fatal error: boost/core/static_assert.hpp: No such file or directory
   15 | #include <boost/core/static_assert.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Does this look familiar or is t's just me ?

*If I switch the GIT_TAG from master to --> boost-1.89.0 everything builds ok...

Thank You.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions