:~/bitcoin$ make HOST=x86_64-w64-mingw32 Making all in src make[1]: Entering directory '/home/frank/bitcoin/src' make[2]: Entering directory '/home/frank/bitcoin/src' make[3]: Entering directory '/home/frank/bitcoin' make[3]: Leaving directory '/home/frank/bitcoin' CXX primitives/libbitcoinconsensus_la-transaction.lo In file included from primitives/transaction.cpp:11:0: ./util/strencodings.h:16:10: fatal error: charconv: No such file or directory #include <charconv> ^~~~~~~~~~ compilation terminated. Makefile:12722: recipe for target 'primitives/libbitcoinconsensus_la-transaction.lo' failed make[2]: *** [primitives/libbitcoinconsensus_la-transaction.lo] Error 1 make[2]: Leaving directory '/home/frank/bitcoin/src' Makefile:16761: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/frank/bitcoin/src' Makefile:817: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1
Cross Compiling bitcoind fails with fatal error with Ubuntu 18.04 on Windows #24248
issue BTCFranky opened this issue on February 3, 2022-
BTCFranky commented at 10:53 AM on February 3, 2022: none
- BTCFranky added the label Bug on Feb 3, 2022
-
MarcoFalke commented at 12:50 PM on February 3, 2022: member
What are the steps to reproduce? Are you using build-windows.md?
- fanquake removed the label Bug on Feb 3, 2022
-
fanquake commented at 11:26 PM on February 3, 2022: member
./util/strencodings.h:16:10: fatal error: charconv: No such file or directory
This means you aren't using a C++17 compiler. g++-mingw-w64 in Bionic is backed by GCC 7.3.0, which doesn't meet the requirements (GCC 8.1+) to build master (I assume that's what you're building).
- fanquake closed this on Feb 3, 2022
- DrahtBot locked this on Feb 3, 2023
Contributors