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

compile error with boost 1.77 #596

Closed
davxiao opened this issue Apr 27, 2024 · 4 comments
Closed

compile error with boost 1.77 #596

davxiao opened this issue Apr 27, 2024 · 4 comments

Comments

@davxiao
Copy link

davxiao commented Apr 27, 2024

Version: 3.80
cc: gcc

I needed boost 1.77 because it fixed a cross device link bug that's causing bn to crash with prior boost version (1.72-1.76)

There is a compile error with 1.77. Any suggestions?

In file included from ./include/bitcoin/system/utility/flush_lock.hpp:25,
                 from src/utility/flush_lock.cpp:19:
./include/bitcoin/system/unicode/file_lock.hpp:22:10: fatal error: boost/interprocess/detail/posix_time_types_wrk.hpp: No such file or directory
   22 | #include <boost/interprocess/detail/posix_time_types_wrk.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:3953: src/utility/libbitcoin_system_la-flush_lock.lo] Error 1
@evoskuil
Copy link
Member

It's not clear how your boost build can be missing this include, but that appears to be the case.

@pmienk
Copy link
Member

pmienk commented Jun 6, 2024

It should be noted that the readme specifically states that the version3 branch requires Boost between 1.72 and 1.76. While this is not the error I would expect to see, there are errors expected at compile.

@evoskuil
Copy link
Member

Min boost is now 1.78.

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

No branches or pull requests

3 participants