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

source code progam errors #212

Open
keefer223 opened this issue May 16, 2023 · 0 comments
Open

source code progam errors #212

keefer223 opened this issue May 16, 2023 · 0 comments

Comments

@keefer223
Copy link

keefer223 commented May 16, 2023

I just tried building Sugarchain Yumekawa v0.16.3.36-payapoya from source. Make displayed the following

keefer@Yiimp:/sugarchain$ make
Making all in src
make[1]: Entering directory '/home/keefer/sugarchain/src'
make[2]: Entering directory '/home/keefer/sugarchain/src'
CXX sugarchaind-bitcoind.o
CXX libbitcoin_server_a-addrdb.o
CXX libbitcoin_server_a-addrman.o
CXX libbitcoin_server_a-bloom.o
CXX libbitcoin_server_a-blockencodings.o
CXX libbitcoin_server_a-chain.o
CXX libbitcoin_server_a-checkpoints.o
CXX consensus/libbitcoin_server_a-tx_verify.o
CXX libbitcoin_server_a-httprpc.o
CXX libbitcoin_server_a-httpserver.o
httpserver.cpp:74:10: error: ‘deque’ in namespace ‘std’ does not name a template type
74 | std::deque<std::unique_ptr> queue;
| ^~~~~
httpserver.cpp:33:1: note: ‘std::deque’ is defined in header ‘’; did you forget to ‘#include ’?
32 | #include <support/events.h>
+++ |+#include
33 |
httpserver.cpp: In member function ‘bool WorkQueue::Enqueue(WorkItem*)’:
httpserver.cpp:92:13: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
92 | if (queue.size() >= maxDepth) {
| ^~~~~
| Enqueue
httpserver.cpp:95:9: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
95 | queue.emplace_back(std::unique_ptr(item));
| ^~~~~
| Enqueue
httpserver.cpp: In member function ‘void WorkQueue::Run()’:
httpserver.cpp:106:35: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
106 | while (running && queue.empty())
| ^~~~~
| Enqueue
httpserver.cpp:110:31: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
110 | i = std::move(queue.front());
| ^~~~~
| Enqueue
make[2]: *** [Makefile:6088: libbitcoin_server_a-httpserver.o] Error 1
make[2]: Leaving directory '/home/keefer/sugarchain/src'
make[1]: *** [Makefile:9973: all-recursive] Error 1
make[1]: Leaving directory '/home/keefer/sugarchain/src'
make: *** [Makefile:749: all-recursive] Error 1
keefer@Yiimp:~/sugarchain$

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