Git Product home page Git Product logo

generic-xmr-scanner's Issues

compile issue

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

Assertion `this->is_initialized()

ional<T>::get() const [with T = epee::mlocked<tools::scrubbed<crypto::ec_scalar> >; boost::optional<T>::refere
nce_const_type = const epee::mlocked<tools::scrubbed<crypto::ec_scalar> >&]: Assertion `this->is_initialized()
' failed.  

update drogon

After update drogon to the latest version, you could remove the FindDrogon.cmake, FindJsoncpp.cmake from your project, and add drogon by some stuff like follows:

add_subdirectory(drogon)
set(Drogon_DIR ${PROJECT_BINARY_DIR}/drogon)
FIND_PACKAGE(Drogon CONFIG REQUIRED NO_DEFAULT_PATH)
include_directories(${DROGON_INCLUDE_DIRS})
link_libraries(${DROGON_LIBRARIES})

Drogon creates the DrogonConfig.cmake file for this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.