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

Ubuntu 16, error: ‘boost::placeholders’ has not been declared #436

Open
christianriley opened this issue Nov 23, 2020 · 0 comments
Open

Comments

@christianriley
Copy link

Compiling on Ubuntu 16 fails as below. Has anyone succeeded in getting it to work?

CXX src/bitcoinrpc.o
src/bitcoinrpc.cpp: In function ‘void RPCRunLater(const string&, boost::function<void()>, int64)’:
src/bitcoinrpc.cpp:1054:72: error: ‘boost::placeholders’ has not been declared
deadlineTimers[name]->async_wait(boost::bind(RPCRunHandler, boost::placeholders::_1, func));
^
Makefile:1419: recipe for target 'src/bitcoinrpc.o' failed
make: *** [src/bitcoinrpc.o] Error 1

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

1 participant