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 issue #11

Open
plowsof opened this issue Oct 20, 2023 · 1 comment
Open

compile issue #11

plowsof opened this issue Oct 20, 2023 · 1 comment

Comments

@plowsof
Copy link
Contributor

plowsof commented Oct 20, 2023

i have followed the monero build instructions (branch master, with USE_SINGLE_BUILDDIR=1) but i am encountering these compile errors whilst building generic-xmr-scanner:

/home/human/dev/generic-xmr-scanner/ext/xmregcore/src/MicroCore.cpp: In constructor ‘xmreg::MicroCore::MicroCore()’:
/home/human/dev/generic-xmr-scanner/ext/xmregcore/src/MicroCore.cpp:24:9: error: ‘cryptonote::tx_memory_pool::tx_memory_pool(cryptonote::Blockchain&)’ is private within this context
   24 |         m_mempool(core_storage),
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/human/dev/generic-xmr-scanner/ext/xmregcore/src/monero_headers.h:25,
                 from /home/human/dev/generic-xmr-scanner/ext/xmregcore/src/MicroCore.h:8,
                 from /home/human/dev/generic-xmr-scanner/ext/xmregcore/src/MicroCore.cpp:5:
/home/human/monero/src/cryptonote_core/tx_pool.h:488:5: note: declared private here
  488 |     tx_memory_pool(Blockchain& bchs);
      |     ^~~~~~~~~~~~~~
/home/human/dev/generic-xmr-scanner/ext/xmregcore/src/MicroCore.cpp:25:9: error: ‘cryptonote::Blockchain::Blockchain(cryptonote::tx_memory_pool&)’ is private within this context
   25 |         core_storage(m_mempool),
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/human/dev/generic-xmr-scanner/ext/xmregcore/src/monero_headers.h:26,
                 from /home/human/dev/generic-xmr-scanner/ext/xmregcore/src/MicroCore.h:8,
                 from /home/human/dev/generic-xmr-scanner/ext/xmregcore/src/MicroCore.cpp:5:
/home/human/monero/src/cryptonote_core/blockchain.h:1236:5: note: declared private here
 1236 |     Blockchain(tx_memory_pool& tx_pool);
      |     ^~~~~~~~~~

any ideas? 8-(

@moneroexamples
Copy link
Owner

Not at the moment. For the time being I will not have time to look into the issue. Sorry. But if you figure it out, please feel free to make a PR.

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