Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: boost/ detail/endian.hpp: No such file or directory | #include <boost/detail/endian.hpp> #45

Closed
paroque28 opened this issue Jul 28, 2020 · 3 comments

Comments

@paroque28
Copy link

paroque28 commented Jul 28, 2020

In 1.73.0 I get the following error:

fatal error: boost/  detail/endian.hpp: No such file or directory | #include <boost/detail/endian.hpp>

The behavior is different in 1.72.0

@paroque28
Copy link
Author

paroque28 commented Jul 28, 2020

I see that in 3a50c15 , Boost::predef is missing which doesn't match the commit message: "Add CMake install support, tests "

 -   INTERFACE
 -       Boost::config
 -       Boost::core
 -       Boost::predef
 -       Boost::static_assert
 -       Boost::type_traits
 + INTERFACE
 +   Boost::config
 +   Boost::core
 +   Boost::static_assert
 +   Boost::type_traits

Was this made on purpose?

@paroque28
Copy link
Author

paroque28 commented Jul 28, 2020

Disappeared:
https://www.boost.org/doc/libs/1_73_0/boost/predef/detail/endian_compat.h
https://www.boost.org/doc/libs/1_73_0/boost/detail/endian.hpp

Before:
https://www.boost.org/doc/libs/1_72_0/boost/predef/detail/endian_compat.h
https://www.boost.org/doc/libs/1_72_0/boost/detail/endian.hpp

Is this the reason:

The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIAN_*_BYTE instead

@pdimov
Copy link
Member

pdimov commented Jul 28, 2020

Yes, this is the reason. The deprecated headers (part of the Predef library, not the Endian library) were removed in boostorg/predef@aa6e232.

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

No branches or pull requests

2 participants