boostorg / boostorg/boost

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

Open
#1,094 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
8.6k
Forks
1.9k
Avg merge
39m
Merged PRs (30d)
2

Description

Hello,

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

```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:

```linux
/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
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.