Sandokaaan / Earthcoin

Earthcoin - Core 1.18 - DEV only
MIT License
3 stars 6 forks source link

Build Fails with Modern Boost Libs #5

Open tuaris opened 3 weeks ago

tuaris commented 3 weeks ago

Building with Boost < 1.72 results in an error on FreeBSD:

httpserver.cpp:74:10: error: no template named 'deque' in namespace 'std'
    std::deque<std::unique_ptr<WorkItem>> queue;
    ~~~~~^

Fix is to add to src/httpserver.cpp

#include <deque>

See: https://github.com/Kirkirillka/blocknet/commit/43dbf1ab68b1223ee7c603917125a881da827f1d

tuaris commented 3 weeks ago

Lots more broken stuff, but got it to build. See: https://github.com/tuaris/FreeBSD-Coin-Ports/tree/master/net-p2p/earthcoin

The patches required:

I don't know what I am doing. I just used Google and my very limited knowledge of C++ to get this working.

Please fix your code.

Sandokaaan commented 2 weeks ago

Dear friend,

I am already working on the issue. Please, try the devel branch: https://github.com/Sandokaaan/Earthcoin/tree/devel

Thanks for patchs you provided.

Best regards! S.

Dne 2024-06-05 01:48, Daniel Morante napsal:

Lots more broken stuff, but got it to build. See: https://github.com/tuaris/FreeBSD-Coin-Ports/tree/master/net-p2p/earthcoin

The patches required:

https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/net-p2p/earthcoin/files/patch-src_crypto_scrypt.cpp https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/net-p2p/earthcoin/files/patch-src_crypto_scrypt.h https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/net-p2p/earthcoin/files/patch-src_httpserver.cpp https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/net-p2p/earthcoin/files/patch-src_net__processing.cpp https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/net-p2p/earthcoin/files/patch-src_qt_clientmodel.cpp https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/net-p2p/earthcoin/files/patch-src_qt_earthcoingui.cpp https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/net-p2p/earthcoin/files/patch-src_qt_sendcoinsdialog.cpp https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/net-p2p/earthcoin/files/patch-src_qt_splashscreen.cpp https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/net-p2p/earthcoin/files/patch-src_qt_trafficgraphwidget.h https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/net-p2p/earthcoin/files/patch-src_qt_transactiontablemodel.cpp https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/net-p2p/earthcoin/files/patch-src_qt_walletmodel.cpp https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/net-p2p/earthcoin/files/patch-src_validation.cpp * https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/net-p2p/earthcoin/files/patch-src_validationinterface.cpp

I don't know what I am doing. I just used Google and my very limited knowledge of C++ to get this working.

Please fix your code.

-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Links:

[1] https://github.com/Sandokaaan/Earthcoin/issues/5#issuecomment-2148589845 [2] https://github.com/notifications/unsubscribe-auth/AHME7UONORPSTAIVYTMEDDLZFZG5BAVCNFSM6AAAAABIZPBTQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBYGU4DSOBUGU