generic-xmr-scanner icon indicating copy to clipboard operation
generic-xmr-scanner copied to clipboard

compile issue

Open plowsof opened this issue 2 years ago • 1 comments
trafficstars

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-(

plowsof avatar Oct 20 '23 15:10 plowsof

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.

moneroexamples avatar Oct 21 '23 00:10 moneroexamples