Wednesday, January 1, 2025
HomeBitcoincompiling - Bitcoin compilation retains failing

compiling – Bitcoin compilation retains failing


hello everybody so i attempted compiling bitcoin utilizing the cmake however i hold having points with the compilation i hold getting this error:

26%] Constructed goal leveldb
In file included from /house/a24_lynx/bitcoin-core-test-the-test-jidinen/bitcoin/src/uint256.h:11,
                 from /house/a24_lynx/bitcoin-core-test-the-test-jidinen/bitcoin/src/crypto/muhash.h:9,
                 from /house/a24_lynx/bitcoin-core-test-the-test-jidinen/bitcoin/src/crypto/muhash.cpp:5:
/house/a24_lynx/bitcoin-core-test-the-test-jidinen/bitcoin/src/util/strencodings.h: In perform ‘constexpr auto util::hex_literals::operator""_hex_u8()’:
/house/a24_lynx/bitcoin-core-test-the-test-jidinen/bitcoin/src/util/strencodings.h:434:50: error: ‘bit_cast’ shouldn't be a member of ‘std’; did you imply ‘bad_cast’?
  434 | constexpr auto operator""_hex_u8() { return std::bit_cast<:array str.bytes.size="">>(str.bytes); }
      |                                                  ^~~~~~~~
      |                                                  bad_cast
/house/a24_lynx/bitcoin-core-test-the-test-jidinen/bitcoin/src/util/strencodings.h:434:95: error: anticipated primary-expression earlier than ‘>’ token
  434 | constexpr auto operator""_hex_u8() { return std::bit_cast<:array str.bytes.size="">>(str.bytes); }
      |                                                                                               ^~
In file included from /house/a24_lynx/bitcoin-core-test-the-test-jidinen/bitcoin/src/uint256.h:11,
                 from /house/a24_lynx/bitcoin-core-test-the-test-jidinen/bitcoin/src/crypto/siphash.h:11,
                 from /house/a24_lynx/bitcoin-core-test-the-test-jidinen/bitcoin/src/crypto/siphash.cpp:5:
/house/a24_lynx/bitcoin-core-test-the-test-jidinen/bitcoin/src/util/strencodings.h: In perform ‘constexpr auto util::hex_literals::operator""_hex_u8()’:
/house/a24_lynx/bitcoin-core-test-the-test-jidinen/bitcoin/src/util/strencodings.h:434:50: error: ‘bit_cast’ shouldn't be a member of ‘std’; did you imply ‘bad_cast’?
  434 | constexpr auto operator""_hex_u8() { return std::bit_cast<:array str.bytes.size="">>(str.bytes); }
      |                                                  ^~~~~~~~
      |                                                  bad_cast
/house/a24_lynx/bitcoin-core-test-the-test-jidinen/bitcoin/src/util/strencodings.h:434:95: error: anticipated primary-expression earlier than ‘>’ token
  434 | constexpr auto operator""_hex_u8() { return std::bit_cast<:array str.bytes.size="">>(str.bytes); }
      |                                                                                               ^~
make[2]: *** [src/crypto/CMakeFiles/bitcoin_crypto.dir/build.make:174: src/crypto/CMakeFiles/bitcoin_crypto.dir/muhash.cpp.o] Error 1
make[2]: *** Ready for unfinished jobs....
make[2]: *** [src/crypto/CMakeFiles/bitcoin_crypto.dir/build.make:286: src/crypto/CMakeFiles/bitcoin_crypto.dir/siphash.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:830: src/crypto/CMakeFiles/bitcoin_crypto.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments