fatal error: charconv: No such file or directory #include <charconv> #23291

issue isaack0815 opened this issue on October 16, 2021
  1. isaack0815 commented at 9:34 AM on October 16, 2021: none

    root@ve494:/downloads/bitcoin# make Making all in src make[1]: Entering directory '/downloads/bitcoin/src' make[2]: Entering directory '/downloads/bitcoin/src' make[3]: Entering directory '/downloads/bitcoin' make[3]: Leaving directory '/downloads/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:11811: recipe for target 'primitives/libbitcoinconsensus_la-transaction.lo' failed make[2]: *** [primitives/libbitcoinconsensus_la-transaction.lo] Error 1 make[2]: Leaving directory '/downloads/bitcoin/src' Makefile:15651: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/downloads/bitcoin/src' Makefile:818: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1

  2. isaack0815 added the label Bug on Oct 16, 2021
  3. isaack0815 renamed this:
    fatal error: /util/strencodings.h: No such file or directory #include </util/strencodings.h>
    fatal error: charconv: No such file or directory #include <charconv>
    on Oct 16, 2021
  4. dougEfresh commented at 11:11 AM on October 16, 2021: contributor

    what OS and what is your compiler version?

  5. fanquake removed the label Bug on Oct 17, 2021
  6. fanquake commented at 4:48 AM on October 17, 2021: member

    You need to use a newer compiler. See #23060 & #23158.

  7. fanquake closed this on Oct 17, 2021

  8. Gapcoin1 cross-referenced this on Nov 3, 2021 from issue Fatal Compiling Error by Gapcoin1
  9. bitcoin locked this on Oct 30, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:53 UTC